You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/Tables_en.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -456,16 +456,16 @@ Suppose you have written a PaddlePaddle program in the current directory (such a
456
456
cd /home/work
457
457
```
458
458
```
459
-
docker run -it -v $PWD:/work registry.baidubce.com/paddlepaddle/paddle /work/train.py
459
+
docker run -it -v $PWD:/work ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle /work/train.py
460
460
```
461
461
462
462
463
-
In the above commands, the `-it` parameter indicates that the container has been run interactively; `-v $PWD:/work` specifies that the current path (the absolute path where the PWD variable in Linux will expand to the current path) is mounted to the `:/work` directory inside the container: `registry.baidubce.com/paddlepaddle/paddle` specifies the container to be used; finally `/work/train.py` is the command executed inside the container, ie. the training program.
463
+
In the above commands, the `-it` parameter indicates that the container has been run interactively; `-v $PWD:/work` specifies that the current path (the absolute path where the PWD variable in Linux will expand to the current path) is mounted to the `:/work` directory inside the container: `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle` specifies the container to be used; finally `/work/train.py` is the command executed inside the container, ie. the training program.
464
464
465
465
Of course, you can also enter into the Docker container and execute or debug your code interactively:
466
466
467
467
```
468
-
docker run -it -v $PWD:/work registry.baidubce.com/paddlepaddle/paddle /bin/bash
468
+
docker run -it -v $PWD:/work ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle /bin/bash
469
469
```
470
470
```
471
471
cd /work
@@ -487,13 +487,13 @@ Use Docker to quickly launch a local Jupyter Notebook containing the PaddlePaddl
487
487
We provide a Docker image that can run the PaddlePaddle Book directly, running directly:
488
488
489
489
```
490
-
docker run -p 8888:8888 registry.baidubce.com/paddlepaddle/book
490
+
docker run -p 8888:8888 ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/book
491
491
```
492
492
493
493
Domestic users can use the following image source to speed up access:
494
494
495
495
```
496
-
docker run -p 8888:8888 registry.baidubce.com/paddlepaddle/book
496
+
docker run -p 8888:8888 ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/book
497
497
```
498
498
499
499
Then enter the following URL in your browser:
@@ -511,7 +511,7 @@ http://localhost:8888/
511
511
In order to ensure that the GPU driver works properly in the image, we recommend using [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) to run the image. Don't forget to install the latest GPU drivers on your physical machine in advance.
512
512
513
513
```
514
-
Nvidia-docker run -it -v $PWD:/work registry.baidubce.com/paddlepaddle/paddle:latest-gpu /bin/bash
514
+
Nvidia-docker run -it -v $PWD:/work ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:latest-gpu /bin/bash
515
515
```
516
516
517
517
**Note: If you don't have nvidia-docker installed, you can try the following to mount the CUDA library and Linux devices into the Docker container:**
0 commit comments