【发布时间】:2019-04-30 15:39:10
【问题描述】:
我创建一个这样的 docker 文件:
FROM jupyter/scipy-notebook
MAINTAINER Jon Krohn <jon@untapt.com>
USER $NB_USER
# install TensorFlow
RUN conda install tensorflow tensorflow
# install tflearn and keras:
RUN pip install tflearn==0.3.2
RUN pip install keras==2.0.8
# install NLP packages:
RUN pip install nltk==3.2.4
RUN pip install gensim==2.3.0
# install Reinforcement Learning packages:
RUN pip install gym==0.9.4
我的问题是在构建我的图像后,当我想运行这个图像时:
docker run -v D:/TensorFlow-LiveLessons:/home/jovyan/work -it --rm -p 8888:8888 tensorflow-ll-stack .
我收到此错误消息
[FATAL tini (6)] exec . failed: Permission denied
我共享D盘,我用的是win10。
感谢您的帮助。
【问题讨论】:
-
究竟是什么“。”应该怎么做?对我来说它看起来像是一个错字......据我了解,它应该是一个作为起始命令传递的命令。顺便说一句,如果你想一直使用这个命令,你应该考虑在你的 dockerfile 中添加一个 CMD 条目。
-
最后一个“.”显示我正在工作的目录是当前目录github.com/the-deep-learners/TensorFlow-LiveLessons/blob/master/…
标签: docker tensorflow dockerfile