examples icon indicating copy to clipboard operation
examples copied to clipboard

[codelab-intro-mnist-feedback]: Dockerfile.model in examples/mnist needs to be fixed

Open JIElite opened this issue 6 years ago • 4 comments

Issue: Dockerfile.model in examples/mnist needs to be fixed Platform: Google Cloud Platform with Cloud Shell

According to "Introduction to Kubeflow on Google Kubernetes Engine", we can run the following command to run docker container: docker run -it $IMAGE_PATH

However, I ran into this error message at 21:40(PST) on 2020/2/18:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "/usr/bin/python": stat /u sr/bin/python: no such file or directory": unknown. ERRO[0000] error waiting for container: context canceled

The content in Docker.model is:

#This container contains your model and any helper scripts specific to your model.
# When building the image inside mnist.ipynb the base docker image will be overwritten
FROM tensorflow/tensorflow:1.15.2-py3

ADD model.py /opt/model.py
RUN chmod +x /opt/model.py

ENTRYPOINT ["/usr/bin/python"]
CMD ["/opt/model.py"]

After changing the entrypoint to ENTRYPOINT ["/usr/local/bin/python"], the docker run command properly.

Is this dockerfile still in progress? or just leave something that no mentioned in the document.

Best regards, Eli

JIElite avatar Feb 19 '20 05:02 JIElite

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/bug 0.65

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Feb 19 '20 05:02 issue-label-bot[bot]

Submitted PR #744 to fix this issue.

millerdz avatar Feb 20 '20 20:02 millerdz

/area example /priority p1

jtfogarty avatar Apr 17 '20 21:04 jtfogarty

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 17 '20 14:07 stale[bot]