eloone

12

votes
5

answer
6k

views

Is there a way to lint the Dockerfile?

If a Dockerfile is written with mistakes for example: CMD ['service', '--config', '/etc/service.conf] (missing quote) Is there a way to lint it to detect such mistake before building?
eloone
1

votes
1

answer
520

views

How do you update a container in a container-vm after its image changed in Google Container Engine?

I run a service in a container on a container-vm on Google Container Engine. I followed https://cloud.google.com/compute/docs/containers/container_vms#creating_containers_at_time_of_instance_creation with first creating the containers.yaml conf: version: v1beta2 containers: - name: example-image ima...
eloone
1

votes
1

answer
645

views

How to save text of more than 1500 bytes on Google datastore with gcloud-node?

According to https://cloud.google.com/appengine/docs/python/datastore/typesandpropertyclasses?hl=en I should use a Blob type but I don't see such type in gcloud-node. Is it something yet to be implemented? How can I save long text in datastore using gcloud-node?
eloone
30

votes
3

answer
58.4k

views

How to update facebook open graph image

Say if you have set the facebook image for your webpage via the meta tag of the open graph protocol like this: If you want to replace/update the image with another image of the same name rock.jpg, how do you get facebook to update your image accordingly with the new image when you share the page? F...
eloone
3

votes
2

answer
737

views

Where can I see the nodejs logs after I deployed on Google App Engine?

I deployed a nodejs app on Google App engine following this tutorial https://github.com/GoogleCloudPlatform/appengine-nodejs-quickstart it was successful and now I want to check the logs of the nodejs server, like in development from the terminal console. The Vms are managed by google but even if I...
eloone
2

votes
2

answer
273

views

Where to see the logs for a failed deployment on managed Vms on Google App Engine?

The deployment fails on google app engine when I try to deploy my app on managed VMs. I suspect it's because appengine doesn't manage to run my container because it has an error. However, I can't check the docker logs since the container failed to run. Locally it works because it has a different con...
eloone
3

votes
2

answer
2.6k

views

How to get instances IPs programatically in Google Compute Engine?

I need to connect to a replica set of mongodb in my app so I need to provide ip addresses of the mongo instances of the replica set in the code's config. The Ips are ephemeral so they might change in the future. How can I get the ips of the mongo instances programmatically so they can be deduced by...
eloone
7

votes
3

answer
1.2k

views

How to fix “`The --custom_entrypoint flag must be set for custom runtimes`”?

I get this error on appengine when I run gcloud preview app run app.yaml: The --custom_entrypoint flag must be set for custom runtimes My app.yamllooks like: version: 0-1-1 runtime: custom vm: true api_version: 1 manual_scaling: instances: 1 handlers: - url: .* script: dynamic My dockerfile is just:...
eloone
4

votes
2

answer
1.2k

views

How to remove data that was pushed in a list in Firebase?

Given var messageListRef = new Firebase('https://SampleChat.firebaseIO-demo.com/message_list'); messageListRef.push({ 'user_id': 'fred', 'text': 'Yabba Dabba Doo!' }); How to remove that added data { 'user_id': 'fred', 'text': 'Yabba Dabba Doo!' } later from Firebase? Is there a clean and simple way...
eloone