Update installation.md
This commit is contained in:
parent
42317d5823
commit
79524b72bf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue