-
Notifications
You must be signed in to change notification settings - Fork 5.7k
support UBUNTU MIRROR and modify doc #927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
UBUNTU MIRROR | ||
------------- | ||
|
||
Building Paddle Docker image hits some wrong with apt-get update, you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
关于文档有一个修改建议:
.. code-block:: bash | ||
|
||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的是不是想说:
Sometimes
docker build
might 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我觉得不用强调中国的网络问题,在美国也有时候访问官方源很慢的。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
… 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