📜  docker access denied windows 10 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:09.332000             🧑  作者: Mango

代码示例1
It seems that your problem is at you last command. In : docker run -v D:/TensorFlow-LiveLessons:/home/jovyan/work -it --rm -p 8888:8888 tensorflow-ll-stack ., you are telling docker to launch a container with a command ".". From the doc you linked me in the comments, you mixed up docker build and docker run.

Docker build take a context path as a parameter, where it can find a Dockerfile. It often a ".", if you are executing the command from the same directory.

Docker run take a command as a parameter, which will be used as an entry point for you image.

Now, it looks more like a copy past problem, since you documentation show that the docker run command is docker run -v c:/full/path/to/the/clone:/home/jovyan/work -it --rm -p 8888:8888 tensorflow-ll-stack without the point, but it never bad to learn about docker build and docker run.

Have fun!