Manage containerd containers and images. More information: <https://containerd.io>. List all containers (running and stopped): ctr containers list List all images: ctr images list Pull an image: ctr images pull image Tag an image: ctr images tag source_image:source_tag target_image:target_...
Here is a list of command examples for working with containerd using ctr: List all images: $ ctr image ls Pull an image: $ ctr image pull docker.io/library/nginx:latest Run a container: $ ctr run docker.io/library/nginx:latest Attach a shell to a running container: $ ctr exec -it ...
1. ctr images list :列出所有本地镜像 2. ctr images import xxx.tar.xz: 导入本地 tar 包内的镜像 3. ctr images remove xxx: 删除镜像(字母 j 代表是否强制删除) 4. ctr image rm --all: 删除所有本地镜像 5. ctr image ref xxx: 列出指定镜像包含的所有引用 6. ctr image inspect xxx: 查看...
ctr Command Examples 1. List all containers (running and stopped): # ctr containers list 2. List all images: # ctr images list 3. Pull an image: # ctr images pull image 4. Tag an image: # ctr images tag source_image:source_tag target_image:target_tag...
1. List all containers (running and stopped): # ctr containers list 2. List all images: # ctr images list 3. Pull an image: # ctr images pull image 4. Tag an image: # ctr images tag source_image:source_tag target_image:target_tag...
ctr images command [command options] [arguments...] COMMANDS: check Check existing images to ensure all content is available locally export Export images import Import images list, ls List images known to containerd mount Mount an image to a target path ...
ctr images command [command options] [arguments...] COMMANDS:check检查现有镜像以确保所有内容在本地可用checkexisting imagestoensureallcontentisavailable locally export 导出镜像 export images import 导入镜像 import images list, ls 列出container已知的镜像 list images knowntocontainerd ...
check 检查现有镜像以确保所有内容在本地可用 check existing images to ensure all content is available locally export 导出镜像 export images import 导入镜像 import images list, ls 列出container已知的镜像 list images known to containerd mount 将镜像装载到目标路径 mount an image to a target path ...
Tar output is formatted as an OCI archive, a Docker manifest is provided for the platform. Use '--skip-manifest-json' to avoid including the Docker manifest.json file. Use '--platform' to define the output platform. When '--all-platforms' is given all images in a manifest list must be...
list images known to containerd --quiet, -q: print only the image refs pull pull an image from a remote --all-metadata: Pull metadata for all platforms --all-platforms: pull content and metadata from all platforms --label="": labels to attach to the image ...