From 660dfe103d2a2e8d94af8746febdf15ed874e0cc Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 29 Aug 2024 17:23:26 +0800 Subject: [PATCH] doc: update docs/docker.md --- docs/docker.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docker.md b/docs/docker.md index fff7b82c575..c1dfea12234 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -164,6 +164,8 @@ $ docker build - < context.tar.gz $ docker build -t eon/nginx-server . $ docker build -f myOtherDockerfile . $ curl example.com/remote/Dockerfile | docker build -f - . +$ docker save -o <保存路径>/myimage.tar myimage:latest # 导出 +$ docker load -i <路径>/myimage.tar # 导入 ``` ### 删除 \ 镜像