Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make validate command failing #31

Open
seanlubbers1 opened this issue Jan 14, 2020 · 0 comments
Open

Make validate command failing #31

seanlubbers1 opened this issue Jan 14, 2020 · 0 comments

Comments

@seanlubbers1
Copy link

seanlubbers1 commented Jan 14, 2020

Running "make create" appears to run successfully. I'm able to SSH into the cos-vm compute engine instance, but I notice when I run sudo docker ps that there are no associated processes on that instance:

Screen Shot 2020-01-13 at 3 49 09 PM

Running make validate I'm returned with an error soon afterwards:

Screen Shot 2020-01-13 at 4 03 24 PM

UDPATE

The issue appears to be that the image specified for the COS vm i.e. gcr.io/migration-to-containers/prime-flask:1.0.2. is not accessible.

The source code for the image is available in the repo under the directory: ~/gke-migration-to-containers/container. Was able to build it locally by SSHing into the COS vm and using: docker build -t gcr.io/migration-to-containers/prime-flask:1.0.2 .

Once built, I used the following docker run command to retrieve the local image and run it on the vm:
docker run --rm -d --name=appuser -p 8080:8080 gcr.io/migration
-to-containers/prime-flask:1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant