doc: Update docker.md (#292)

update docker commit grammar
This commit is contained in:
Maylon 2023-02-07 17:52:24 +08:00 committed by GitHub
parent e3e6783703
commit 8382555a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ Docker 镜像
`docker load --input ubuntu.tar` | 加载一个 tarred 存储库 `docker load --input ubuntu.tar` | 加载一个 tarred 存储库
`docker save busybox > ubuntu.tar` | 将镜像保存到 tar 存档 `docker save busybox > ubuntu.tar` | 将镜像保存到 tar 存档
`docker history` | 显示镜像的历史 `docker history` | 显示镜像的历史
`docker commit nginx` | 将容器另存为镜像 `docker commit nginx my_nginx` | 将容器另存为镜像
`docker tag nginx eon01/nginx` | 标记镜像 `docker tag nginx eon01/nginx` | 标记镜像
`docker push eon01/nginx` | 推送镜像 `docker push eon01/nginx` | 推送镜像