exec Run a command in a running container # 在运行中的容器上运行命令 export Export a container's filesystem as a tar archive #导出容器文件系统作为一个tar归档文件[对应import] history Show the history of an image # 展示一个镜像形成历史 images List images #列出系统当前的镜像 import Import the...
Run a command in an existing container # 在已存在的容器上运行命令 export Stream the contents of a container as a tar archive # 导出容器的内容流作为一个 tar 归档文件[对应 import ] history Show the history of an image # 展示一个镜像形成历史 images List images # 列出系统当前镜像 import Crea...
rmi Remove oneormore images run Run a commandinanewcontainer save Save oneormore imagestoa tar archive (streamedtoSTDOUTbydefault) search Search the Docker Hubforimages start Start oneormore stopped containers stats Display a live streamofcontainer(s) resource usage statisticsstopStoponeormore runni...
语法:Usage: docker node COMMAND pausePause all processes within one or more containers #暂停容器中所有的进程。 语法:Usage: docker pause CONTAINER [CONTAINER...] 实例:暂停数据库容器db01提供服务。 [root@localhost ~]#docker pause db01 portList port mappings or a specific mapping for the container...
# 你可以运行 'docker image COMMAND --help' 获取更多命令信息。 构建镜像 显示历史信息 导入 查看镜像信息 ~ % docker image inspect --help Usage: docker image inspect [OPTIONS] IMAGE [IMAGE...] Display detailed information on one or more images Options: -f, --format string Format output using...
使用「docker images」列出本地宿主主机上拥有的image镜像 core@localhost~$ docker imagesREPOSITORYTAGIMAGEIDCREATEDVIRTUALSIZEbase/163latest468d347c06bc28hours ago249.1MBtest/supervisord latest468d347c06bc28hours ago249.1MBubuntu14.041357f421be384days ago192.7MBdl.dockerpool.com:5000/ubuntu14.041357f421be384...
docker-image-ls - List images SYNOPSIS dockerimagels[OPTIONS][REPOSITORY[:TAG]] DESCRIPTION This command lists the images stored in the local Docker repository. By default, intermediate images, used during builds, are not listed. Some of the output, e.g., image ID, is truncated, for space...
docker images[OPTIONS][REPOSITORY[:TAG]] OPTIONS 说明: -a, --all: 显示所有镜像(包括中间层镜像)。 --digests: 显示镜像的摘要信息。 -f, --filter: 过滤输出,基于提供的条件。 --format: 使用 Go 模板格式化输出。 --no-trunc: 显示完整的镜像 ID。
$ docker run [OPTIONS] IMAGE[:TAG|@DIGEST] [COMMAND] [ARG...] The docker run command must specify an image reference to create the container from. Image references The image reference is the name and version of the image. You can use the image reference to create or run a container ...