From 90d7723ac407d08e729c1899c7fde55016ab9e54 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Wed, 29 Mar 2017 08:13:16 -0700 Subject: [PATCH] fix according to comments --- doc/getstarted/build_and_install/docker_install_en.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/getstarted/build_and_install/docker_install_en.rst b/doc/getstarted/build_and_install/docker_install_en.rst index b4eced2d3d8..8fb9369e0e8 100644 --- a/doc/getstarted/build_and_install/docker_install_en.rst +++ b/doc/getstarted/build_and_install/docker_install_en.rst @@ -141,13 +141,13 @@ Run the program using docker: .. code-block:: bash - docker run -it --rm -v ~/workspace:/workspace paddlepaddle/paddle:0.10.0rc2 python /workspace/example.py + docker run --rm -v ~/workspace:/workspace paddlepaddle/paddle:0.10.0rc2 python /workspace/example.py Or if you are using GPU for training: .. code-block:: bash - nvidia-docker run -it --rm -v ~/workspace:/workspace paddlepaddle/paddle:0.10.0rc2-gpu python /workspace/example.py + nvidia-docker run --rm -v ~/workspace:/workspace paddlepaddle/paddle:0.10.0rc2-gpu python /workspace/example.py Above commands will start a docker container by running :code:`python /workspace/example.py`. It will stop once :code:`python -- GitLab