Step 1: Install Docker on your Linux system (My Linux version is Fedora)
https://docs.docker.com/engine/installation/linux/fedora/
Other Linux systems can refer to the official Guide Https://docs.docker.com/engine/installation/for further Informati On.
Step 2:you can use docker pull
to download images first, or just launch a container with docker run
:
[email protected]:/home/hd# sudo docker pull paddledev/paddle:cpu-demo-latestcpu-demo-latest:pulling from Paddledev/paddle862a3e9af0ae:pull Complete 6498e51874bf:pull Complete 159ebdd1959b:pull complete 0fdbedd3771a:pull Co Mplete 7a1f7116d1e3:pull Complete Cf3b261b873d:pull complete A45605e2b3be:pull complete DIGEST:SHA256:89A590A9906FD2C 6e789190f6df45f22c7fe5f8805a96ec74b9456a519d09151status:downloaded newer image for Paddledev/paddle: cpu-demo-latest[email protected]:/home/hd# Docker imagesrepository TAG IMAGE ID C reated sizepaddledev/paddle cpu-demo-latest B92f6d4594c8 5 hours ago 1.978 Gbhello-world Latest FF1FEF95CAAA weeks ago 1.848 kb[email protected]:/home/hd# sudo docker run-it paddledev/paddle:cpu-demo-latest[email protected]:/# Lsbin Dev Home lib64 mnt proc run SRV tmp var Boot etc Lib media opt root sbin sys USR[EMAIL&Nbsp;protected]:/#
Note: there exist a error in the Chinese guide provided by Badu. (http://www.paddlepaddle.org/doc_cn/build_and_install/install/docker_install.html)
$ docker run-it Paddledev/paddlepaddle:latest-cpu
Should is replaced by
$ docker run-it Paddledev/paddle:cpu-latest
You can also choose other paddlepaddle images, Baidu provide six Docker images
- Paddledev/paddle:cpu-latest:paddlepaddle CPU binary image.
- Paddledev/paddle:gpu-latest:paddlepaddle GPU binary image.
- Paddledev/paddle:cpu-devel-latest:paddlepaddle CPU binary image plus source code.
- Paddledev/paddle:gpu-devel-latest:paddlepaddle GPU binary image plus source code.
- Paddledev/paddle:cpu-demo-latest:paddlepaddle CPU binary image plus source code and demo
- Paddledev/paddle:gpu-demo-latest:paddlepaddle GPU binary image plus source code and demo
Tags with latest is replaced by a released version.
Install Paddlepaddle (Parallel Distributed deep Learning)