提交 30ece685 编写于 作者: T Travis CI

Deploy to GitHub Pages: bd689cbb

上级 12a7b197
...@@ -42,7 +42,7 @@ Windows -- in a consistent way. ...@@ -42,7 +42,7 @@ Windows -- in a consistent way.
.. code-block:: bash .. code-block:: bash
docker run -d -p 2202:22 -v $PWD:/paddle paddle:dev docker run -d -p 2202:22 -p 8888:8888 -v $PWD:/paddle paddle:dev
This runs a container of the development environment Docker image This runs a container of the development environment Docker image
with the local source tree mounted to :code:`/paddle` of the with the local source tree mounted to :code:`/paddle` of the
...@@ -82,6 +82,29 @@ Windows -- in a consistent way. ...@@ -82,6 +82,29 @@ Windows -- in a consistent way.
cd /paddle/build cd /paddle/build
ctest ctest
4. Run PaddlePaddle Book under Docker Container
The Jupyter Notebook is an open-source web application that allows
you to create and share documents that contain live code, equations,
visualizations and explanatory text in a single browser.
PaddlePaddle Book is an interactive Jupyter Notebook for users and developers.
We already exposed port 8888 for this book. If you want to
dig deeper into deep learning, PaddlePaddle Book definitely is your best choice.
Once you are inside the container, simply issue the command:
.. code-block:: bash
jupyter notebook
Then, you would back and paste the address into the local browser:
.. code-block:: text
http://localhost:8888/
That's all. Enjoy your journey!
CPU-only and GPU Images CPU-only and GPU Images
----------------------- -----------------------
......
...@@ -235,7 +235,7 @@ to set a build arg:</p> ...@@ -235,7 +235,7 @@ to set a build arg:</p>
<p>Once we got the image <code class="code docutils literal"><span class="pre">paddle:dev</span></code>, we can use it to develop <p>Once we got the image <code class="code docutils literal"><span class="pre">paddle:dev</span></code>, we can use it to develop
Paddle by mounting the local source code tree into a container that Paddle by mounting the local source code tree into a container that
runs the image:</p> runs the image:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>docker run -d -p <span class="m">2202</span>:22 -v <span class="nv">$PWD</span>:/paddle paddle:dev <div class="highlight-bash"><div class="highlight"><pre><span></span>docker run -d -p <span class="m">2202</span>:22 -p <span class="m">8888</span>:8888 -v <span class="nv">$PWD</span>:/paddle paddle:dev
</pre></div> </pre></div>
</div> </div>
<p>This runs a container of the development environment Docker image <p>This runs a container of the development environment Docker image
...@@ -268,6 +268,25 @@ ctest ...@@ -268,6 +268,25 @@ ctest
</pre></div> </pre></div>
</div> </div>
</li> </li>
<li><p class="first">Run PaddlePaddle Book under Docker Container</p>
<blockquote>
<div><p>The Jupyter Notebook is an open-source web application that allows
you to create and share documents that contain live code, equations,
visualizations and explanatory text in a single browser.</p>
<p>PaddlePaddle Book is an interactive Jupyter Notebook for users and developers.
We already exposed port 8888 for this book. If you want to
dig deeper into deep learning, PaddlePaddle Book definitely is your best choice.</p>
<p>Once you are inside the container, simply issue the command:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>jupyter notebook
</pre></div>
</div>
<p>Then, you would back and paste the address into the local browser:</p>
<div class="highlight-text"><div class="highlight"><pre><span></span>http://localhost:8888/
</pre></div>
</div>
<p>That&#8217;s all. Enjoy your journey!</p>
</div></blockquote>
</li>
</ol> </ol>
</div> </div>
<div class="section" id="cpu-only-and-gpu-images"> <div class="section" id="cpu-only-and-gpu-images">
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册