提交 d6d91223 编写于 作者: Y Yu Yang

fix docker tag mistake

Change-Id: Ia84860cdc25945ececba84fc9807495c9e5f047b
上级 5547a760
...@@ -8,12 +8,12 @@ Docker is a tool designed to make it easier to create, deploy, and run applicati ...@@ -8,12 +8,12 @@ Docker is a tool designed to make it easier to create, deploy, and run applicati
### PaddlePaddle Docker images ### PaddlePaddle Docker images
There are six Docker images: There are six Docker images:
- paddledev/paddle:latest-cpu: PaddlePaddle CPU binary image. - paddledev/paddle:cpu-latest: PaddlePaddle CPU binary image.
- paddledev/paddle:latest-gpu: PaddlePaddle GPU binary image. - paddledev/paddle:gpu-latest: PaddlePaddle GPU binary image.
- paddledev/paddle:latest-cpu-devel: PaddlePaddle CPU binary image plus source code. - paddledev/paddle:cpu-devel-latest: PaddlePaddle CPU binary image plus source code.
- paddledev/paddle:latest-gpu-devel: PaddlePaddle GPU binary image plus source code. - paddledev/paddle:gpu-devel-latest: PaddlePaddle GPU binary image plus source code.
- paddledev/paddle:latest-cpu-demo: PaddlePaddle CPU binary image plus source code and demo - paddledev/paddle:cpu-demo-latest: PaddlePaddle CPU binary image plus source code and demo
- paddledev/paddle:latest-gpu-demo: PaddlePaddle GPU binary image plus source code and demo - paddledev/paddle:gpu-demo-latest: PaddlePaddle GPU binary image plus source code and demo
Tags with latest will be replaced by a released version. Tags with latest will be replaced by a released version.
...@@ -23,7 +23,7 @@ You have to install Docker in your machine which has linux kernel version 3.10+ ...@@ -23,7 +23,7 @@ You have to install Docker in your machine which has linux kernel version 3.10+
You can use ```docker pull ```to download images first, or just launch a container with ```docker run```: You can use ```docker pull ```to download images first, or just launch a container with ```docker run```:
```bash ```bash
docker run -it paddledev/paddle:lastest-cpu docker run -it paddledev/paddle:cpu-latest
``` ```
If you want to launch container with GPU support, you need to set some environment variables at the same time: If you want to launch container with GPU support, you need to set some environment variables at the same time:
...@@ -31,7 +31,7 @@ If you want to launch container with GPU support, you need to set some environme ...@@ -31,7 +31,7 @@ If you want to launch container with GPU support, you need to set some environme
```bash ```bash
export CUDA_SO="$(\ls /usr/lib64/libcuda* | xargs -I{} echo '-v {}:{}') $(\ls /usr/lib64/libnvidia* | xargs -I{} echo '-v {}:{}" export CUDA_SO="$(\ls /usr/lib64/libcuda* | xargs -I{} echo '-v {}:{}') $(\ls /usr/lib64/libnvidia* | xargs -I{} echo '-v {}:{}"
export DEVICES=$(\ls /dev/nvidia* | xargs -I{} echo '--device {}:{}') export DEVICES=$(\ls /dev/nvidia* | xargs -I{} echo '--device {}:{}')
docker run -it paddledev/paddle:latest-gpu docker run -it paddledev/paddle:gpu-latest
``` ```
### Notice ### Notice
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册