【发布时间】:2019-04-10 16:11:48
【问题描述】:
我正在尝试将 official docker image 用于 anaconda3。在 dockerhub 上,给出了一个运行 jupyter notebook 的例子:
docker run -i --rm -t -p 8888:8888 continuumio/anaconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser"
但它会随着消息退出
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown.
另外,我无法使用bash、apt-get 和其他各种命令行工具。为什么?
【问题讨论】:
标签: docker debian jupyter-notebook anaconda alpine