--device-cgroup-rule list Add a rule to the cgroup allowed devices list --device-read-bps list Limit read rate (bytes per second) from a device (default []) --device-read-iops list Limit read rate (IO per second) from a device (default []) --device-write-bps list Limit write rat...
history Show the history of an image # 展示一个镜像形成历史 images List images #列出系统当前的镜像 import Import the contents from a tarball to create a filesystem image #从tar包中导入内容创建一个文件系统镜像 info Display system-wide information # 显示全系统信息 inspect Return low-level informa...
$ sudo docker images --help Usage: docker images [OPTIONS] [NAME] List images -a, --all=false Show all images (by default filter out the intermediate image layers) # -a 显示当前系统的所有镜像,包括过渡层镜像,默认 docker images 显示最终镜像,不包括过渡层镜像 -f, --filter=[] Provide filt...
export Export a container's filesystem as a tar archive #导出容器的内容流作为一个tar归档文件history Show the history of an image #展示一个镜像形成历史 images List images #列出系统当前镜像 import Import the contents from a tarball to create a filesystem image #导入一个镜像infoDisplay system-wi...
docker volume ls #查看所有本地容器卷 Docker网络 Docker四种网络模式: host模式:hots模式是和宿主机公用一个网段和端口(创建时指定–network=host)。 优点:无需做网络策略,只要能访问到宿主机,就能访问到容器。 缺点:隔离性差,会占用宿主机的端口,做不到自定任意端口。
port List port mappings or a specific mapping for the container 列出端口映射或容器的特定映射 rename Rename a container 重命名容器 restart Restart one or more containers 重启一个或多个容器 rm Remove one or more containers 删除一个或多个容器 ...
docker volume list Description List all the volumes known to Docker. You can filter using the-for--filterflag. Refer to thefilteringsection for more information about available filter options. Options OptionDefaultDescription --clusterAPI 1.42+SwarmDisplay only cluster volumes, and use cluster volume...
port List port mappings or a specific mappingforthe container #查看容器的端口映射情况 prune Remove all stopped containers #删除所有没有运行的容器,禁用 rename Rename a container #重命名容器 restart Restart one or more containers #重启某一个容器 ...
The third field is optional, and is a comma-separated list of options, such asro. These options are discussed below. 第三个字段是可选的,是以逗号分隔的选项列表,例如ro。下面讨论这些选项 --mount: Consists of multiple key-value pairs, separated by commas and each ...
images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on a container, image or task kill Kill one or more running containers load Load an image from a tar archive or STDIN ...