[codelab-intro-mnist-feedback]: Dockerfile.model in examples/mnist needs to be fixed
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
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.
Submitted PR #744 to fix this issue.
/area example /priority p1
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.