Update docker readme to reflect changes.#1896
Merged
Merged
Conversation
wangkuiyi
approved these changes
Apr 26, 2017
| 这里`a.py`包含的所有依赖假设都可以在Paddle的运行容器中。如果需要包含更多的依赖、或者需要发布您的应用的镜像,可以编写`Dockerfile`使用`FROM paddledev/paddle:<version>` | ||
| 创建和发布自己的AI程序镜像。 | ||
|
|
||
| 运行PaddlePaddle书籍 |
Collaborator
There was a problem hiding this comment.
可否顺便把“PaddlePaddle书籍”改成“PaddlePaddle Book”?多谢多谢!
wangkuiyi
reviewed
Apr 26, 2017
| @@ -7,80 +7,99 @@ PaddlePaddle目前唯一官方支持的运行的方式是Docker容器。因为Do | |||
| PaddlePaddle发布的docker镜像使用说明 | |||
| docker build -t paddle:prod -f build/Dockerfile . | ||
|
|
||
| ssh root@localhost -p 2202 | ||
| 以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。 |
wangkuiyi
reviewed
Apr 26, 2017
| - sshd | ||
| 很多开发者会使用远程的安装有GPU的服务器工作,用户可以使用ssh登录到这台服务器上并执行 :code:`docker exec`进入开发镜像并开始工作, | ||
| 也可以在开发镜像中启动一个SSHD服务,方便开发者直接登录到镜像中进行开发: | ||
| 这个镜像包含了Paddle相关的开发工具以及编译和运行环境。用户可以使用开发镜像代替配置本地环境,完成开发,编译,发布, |
Collaborator
There was a problem hiding this comment.
这里貌似漏掉了如何build 开发镜像?
git clone https://github.com/PaddlePaddle/paddle
cd paddle
docker build -t paddle:dev .也可以直接使用Dockerhub上我们预先build好的开发镜像 paddlepaddle/paddle:<version>-dev。
Contributor
Author
There was a problem hiding this comment.
在后面,“通过Docker容器开发PaddlePaddle”这一节。
Merged
zhangyuqin1998
pushed a commit
to zhangyuqin1998/Paddle
that referenced
this pull request
Feb 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.