I am running a custom managed virtual machine with PHP, HHVM, nginx, Centos.
I'm having problems running locally and keep getting
ValueError: --custom_entrypoint must be checked for custom runtime
question. This happens if I use "dev_appserver.py app.yaml" or "gcloud preview app app app.yaml" gcloud -v produces the following:
$: gcloud -v
Google Cloud SDK 0.9.82
I also tried to fix the SDK version according to:
Running node.js in the Google Cloud, but an error occurred while starting docker
It leads to:
Check if the environment variables DOCKER_HOST, DOCKER_CERT_PATH and DOCKER_TLS_VERIFY are set correctly. If you use boot2docker, you can configure them by running the commands shown: boot2docker shellinit
I do not use boot2docker, but Docker works with "docker -d -H tcp: // localhost: 2376" and
Docker Information:
$ docker info
Containers: 3
Images: 137
Storage Driver: aufs
Root directory: / var / lib / docker / aufs
Backup File System: extfs
Dirs: 143
Runtime Driver: native-0.2
Kernel Version: 3.19.0-31-Generic
Operating System: Ubuntu 15.04
Processors: 4
Total memory: 11.43 GiB
Environment Variables:
$ echo $ DOCKER_HOST && & echo $ DOCKER_CERT_PATH && & $ DOCKER_TLS_VERIFY
TCP: // local: 2376
/ home / mgane / sa
1
"` --custom_entrypoint " ?
. python .
nginx/hhvm? . :
- CUSTOM_ENTRYPOINT
. , . "{port}" ( ), . : --custom_entrypoint = "gunicorn -b localhost: {port} mymodule: application"
-
$gcloud preview app app app.yaml --custom-entrypoint = "php -v"
, , , 503 .
- , entrypoint nginx?
Google - : https://github.com/GoogleCloudPlatform/appengine-nginx-hello
!