4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal. To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com...
保存一台宿主机上的镜像为tar文件,然后可以导入到其他的宿主机上。 save Save an image(s) to a tar archive 将镜像打包,与下面的load命令相对应 [root@xingdian ~]# docker save -o nginx.tar nginx //将nginx镜像打包成tar包 load Load an image from a tar archive or STDIN 与上面的save命令相对应,...
DescriptionSave one or more images to a tar archive (streamed to STDOUT by default) Usagedocker image save [OPTIONS] IMAGE [IMAGE...] Aliases docker save Description Produces a tarred repository to the standard output stream. Contains all parent layers, and all tags + versions, or specifiedre...
1. docker save 使用docker save 将指定镜像保存成 tar 归档文件。 Save one or more images to a tar archive (streamed to STDOUT by default) 代码语言:javascript 复制 docker save busybox>busybox.tar docker save--output busybox.tar busybox docker save-o fedora-all.tar fedora docker save-o ubu...
rmi Remove one or more images #移除一个或多个镜像(无容器使用该镜像才可以删除,否则需要删除相关容器才可以继续或者-f强制删除) run Run a command in a new container #创建一个新的容器并运行一个命令 save Save an image(s) to a tar archive#保存一个镜像为一个tar包(对应load) ...
save Save one or more images to a tar archive (streamed to STDOUT by default) start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers
rmi Remove one or more images # 移除一个或多个镜像[无容器使用该镜像才可删除,否则需删除相关容器才可继续或 -f 强制删除] run Run a command in a new container # 创建一个新的容器并运行一个命令 save Save an image to a tar archive # 保存一个镜像为一个 tar 包[对应 load] ...
export Stream the contents of a container as a tar archive # 导出容器的内容流作为一个 tar 归档文件[对应 import ] history Show the history of an image # 展示一个镜像形成历史 images List images # 列出系统当前镜像 info Display system-wide information # 显示系统相关信息 ...
TheSIZEis the cumulative space taken up by the image and all its parent images. This is also the disk space used by the contents of the Tar file created when youdocker savean image. An image will be listed more than once if it has multiple repository names or tags. This single image ...
push Push an image or a repository to a registry 将镜像或存储库推入注册表 rm Remove one or more images 删除 一个或多个图像 save Save one or more images to a tar archive (streamed to STDOUT by default) 保存一个或多个图像到一个tar归档文件(流到stdout默认),可以指定到某个文件下 ...