Prepare paddle in Docker

你说的曾经没有我的故事 提交于 2020-05-01 06:17:38

1. Install Docker

sudo apt-get install -y docker.io

a) pull repository from server in China, here is a faster mirror:

sudo docker pull docker.paddlepaddle.org/paddle

b)run an interactive terminal

sudo docker run -i -t docker.paddlepaddle.org/paddle /bin/bash

c)Install git in container

   apt-get install git

d)Clone paddle tutorial code

   git clone https://github.com/PaddlePaddle/book.git

e)Open another terminal and commit the conntainer

     sudo docker container ls

     sudo docker commit -m="Add git and clone padddlepaddle tutorial code" -a="chenrufeng" c6ec649e0f08 paddle_tutorial:v1

 

PaddlePaddle Book

You can create a container serving PaddlePaddle Book using Jupyter Notebook in one minute using Docker. PaddlePaddle Book is an interactive Jupyter Notebook for users and developers.If you want to dig deeper into deep learning, PaddlePaddle Book definitely is your best choice.

We provide a packaged book image, simply issue the command:

docker run -p 8888:8888 paddlepaddle/book

Then, you would back and paste the address into the local browser:

http://localhost:8888/

That’s all. Enjoy your journey

or, use command line to start updated paddle

```

sudo docker run -p 8888:8888 paddle_book:v2 jupyter notebook --allow-root --ip=0.0.0.0
```

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!