描述
管理镜像
用法
docker image COMMAND
子命令
命令 | 描述 |
docker image build | Build an image from a Dockerfile -----从Dockerfile构建映像 |
docker image history | Show the history of an image -----显示映像的历史记录 |
docker image import | Import the contents from a tarball to create a filesystem image -----从tarball导入内容以创建文件系统映像 |
docker image inspect | Display detailed information on one or more images -----显示一个或多个映像的详细信息 |
docker image load | Load an image from a tar archive or STDIN -----从tar存档或STDIN加载映像 |
docker image ls | List images -----列出映像 |
docker image prune | Remove unused images -----删除未使用的映像 |
docker image pull | Pull an image or a repository from a registry -----从注册表中提取映像或存储库 |
docker image push | Push an image or a repository to a registry -----将映像或存储库推送到注册表 |
docker image rm | Remove one or more images -----删除一个或多个映像 |
docker image save | Save one or more images to a tar archive (streamed to STDOUT by default) -----将一个或多个映像保存到tar存档(默认情况下流式传输到STDOUT) |
docker image tag | Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE -----创建一个引用SOURCE_IMAGE的标记TARGET_IMAGE |
父母的命令
命令 | 描述 |
---|---|
docker | The base command for the Docker CLI. -----Docker CLI的基本命令。 |
扩展说明
管理镜像