Skip to content
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

导出和导入镜像这章节表述有误 #6

Closed
judezhu opened this issue Sep 19, 2014 · 2 comments
Closed

导出和导入镜像这章节表述有误 #6

judezhu opened this issue Sep 19, 2014 · 2 comments

Comments

@judezhu
Copy link

judezhu commented Sep 19, 2014

"如果要导出本地的镜像到文件,可以使用docker export命令."

docker export 是作用于container的,而docker save 是作用于image的。

@yeasy
Copy link
Owner

yeasy commented Sep 19, 2014

这样理解也是对的,export是导出镜像再加上所有的历史变化记录,即容器的最新状态(snapshot)。
而save只是保存基础镜像。
我修改一下描述,让这两点的区别更清晰一些。
多谢提出!

@yeasy yeasy closed this as completed Sep 19, 2014
@judezhu
Copy link
Author

judezhu commented Sep 19, 2014

多谢解释!

On Fri, Sep 19, 2014 at 6:12 AM, Baohua Yang notifications@github.com
wrote:

Closed #6 #6.


Reply to this email directly or view it on GitHub
#6 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants