From 34b6b617b9792b3553c8c72d694f9f1ad9fd0211 Mon Sep 17 00:00:00 2001 From: Daiwj Date: Sun, 12 Apr 2020 19:13:38 +0800 Subject: [PATCH] =?UTF-8?q?docker=E9=95=9C=E5=83=8F=E7=9A=84=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=92=8C=E5=AF=BC=E5=87=BA=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E7=AB=A0=E8=8A=82=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- image/other.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/other.md b/image/other.md index 6029143..f139f5d 100644 --- a/image/other.md +++ b/image/other.md @@ -37,7 +37,7 @@ IMAGE CREATED CREATED BY SIZE f477a6e18e98 About a minute ago 214.9 MB Imported from http://download.openvz.org/template/precreated/ubuntu-16.04-x86_64.tar.gz ``` -## `docker save` 和 `docker load` +## Docker 镜像的导入和导出 `docker save` 和 `docker load` Docker 还提供了 `docker save` 和 `docker load` 命令,用以将镜像保存为一个文件,然后传输到另一个位置上,再加载进来。这是在没有 Docker Registry 时的做法,现在已经不推荐,镜像迁移应该直接使用 Docker Registry,无论是直接使用 Docker Hub 还是使用内网私有 Registry 都可以。