@@ -56,25 +56,38 @@ The PaddlePaddle images don't contain any entry command. You need to write your
Download and Run Docker images
------------------------------
You have to install Docker in your machine which has linux kernel version 3.10+ first. You can refer to the official guide https://docs.docker.com/engine/installation/ for further information.
Currently, Docker is supported on macOS, Windows and Linux distributions. Please check out `Install Docker Engine <https://docs.docker.com/engine/installation/>`_ to find out much more details.
You can use :code:`docker pull ` to download images first, or just launch a container with :code:`docker run` \:
PaddlePaddle on CPU
.....................
.. code-block:: bash
You can use :code:`docker pull ` to download images, or directly launch a container with :code:`docker run` \:
.. code-block:: bash
docker run -it paddledev/paddle:cpu-latest
PaddlePaddle on GPU
.....................
If you want to launch container with GPU support, you need to set some environment variables at the same time:
To build GPU version, you will need the following installed:
.. code-block:: bash
.. code-block:: bash
1. a CUDA-capable GPU
2. NVIDIA CUDA Toolkit (available at http://developer.nvidia.com/cuda-downloads)
Then, you will need to mount related CUDA driver and library into container.