support UBUNTU MIRROR and modify doc#927
support UBUNTU MIRROR and modify doc#927wangkuiyi merged 6 commits intoPaddlePaddle:developfrom wen-bo-yang:develop_test
Conversation
| UBUNTU MIRROR | ||
| ------------- | ||
|
|
||
| Building Paddle Docker image hits some wrong with apt-get update, you |
There was a problem hiding this comment.
Apt-get source errors may occur when building paddle docker image. For example, the default Ubuntu source http://archive.ubuntu.com may not be accessed in China. Thus you may need to replace the default Ubuntu source with another one. 讲清楚点会不会更好些呢?
|
然后就是,source的问题我觉得可以在Development Using Docker这里就开始提及 |
… develop_test Synchronize code from PaddlePaddle/Paddle
| cd paddle | ||
| docker build -t paddle:dev -f paddle/scripts/docker/Dockerfile . | ||
|
|
||
| Apt-get source errors may occur when building paddle docker image. |
There was a problem hiding this comment.
这里的是不是想说:
Sometimes
docker buildmight suffer from a slow network connection to the official Ubuntu apt-source servers. In such case, we can specify an apt-source mirror server that is geologically nearer to us. In the following example, we specified an apt-source server that responds fast in China.
There was a problem hiding this comment.
我觉得不用强调中国的网络问题,在美国也有时候访问官方源很慢的。
… develop_test Synchronic code from PaddlePaddle/Paddle

resolved #919
Support UBUNTU MIRROR when build Paddle docker images
Modify paddle/scripts/docker/Dockerfile
Modify paddle/scripts/docker/Dockerfile.gpu
Modify doc/getstarted/build_and_install/docker_install_en.rst