From 79524b72bf354f9dd4e88a0f80fd4d50c55c9e8c Mon Sep 17 00:00:00 2001 From: dyning Date: Thu, 14 May 2020 13:16:54 +0800 Subject: [PATCH] Update installation.md --- doc/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/installation.md b/doc/installation.md index 25e0d0d5..85b58fe3 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -6,8 +6,8 @@ # 切换到工作目录下 cd /home/Projects # 首次运行需创建一个docker容器,再次运行时不需要运行当前命令 -# 创建一个名字为pdocr的docker容器,并将当前目录映射到容器的/data目录下 -sudo nvidia-docker run --name pdocr -v $PWD:/data --network=host -it hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev /bin/bash +# 创建一个名字为pdocr的docker容器,并将当前目录映射到容器的/paddle目录下 +sudo nvidia-docker run --name pdocr -v $PWD:/paddle --network=host -it hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev /bin/bash # ctrl+P+Q可退出docker,重新进入docker使用如下命令 sudo nvidia-docker container exec -it pdocr /bin/bash -- GitLab