Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitlab/gitlab-runner-helper:x86_64-2ebc4dc4 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitlab/gitlab-runner-helper:x86_64-2ebc4dc4 docker.io/gitlab/gitlab-runner-helper:x86_64-2ebc4dc4'
镜像信息
{
"Id": "sha256:b2d424a5bafd1c980406d60a881d4cc3d07bb98a60674d011fe1f4ab27348f8e",
"RepoTags": [
"gitlab/gitlab-runner-helper:x86_64-2ebc4dc4",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitlab/gitlab-runner-helper:x86_64-2ebc4dc4"
],
"RepoDigests": [
"gitlab/gitlab-runner-helper@sha256:ef122189bfb0f8d7cfdde8b278edadeecc23d0ed51ac14a0fa4a7dc94e7dd12c",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitlab/gitlab-runner-helper@sha256:ef122189bfb0f8d7cfdde8b278edadeecc23d0ed51ac14a0fa4a7dc94e7dd12c"
],
"Parent": "",
"Comment": "Imported from -",
"Created": "2021-02-22T21:31:13.098919074Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.2",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": null,
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 67454942,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/537baa7aad046246ccf4cd0da1509be6f32d88a446c78c3c0446387a1fd3e6d2/merged",
"UpperDir": "/var/lib/docker/overlay2/537baa7aad046246ccf4cd0da1509be6f32d88a446c78c3c0446387a1fd3e6d2/diff",
"WorkDir": "/var/lib/docker/overlay2/537baa7aad046246ccf4cd0da1509be6f32d88a446c78c3c0446387a1fd3e6d2/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:9bde98c4402d0cbfd2a977b39910c75c8c0df282e9c16316db0373236b7ee5b1"
]
},
"Metadata": {
"LastTagTime": "2025-08-11T12:19:20.929275727+08:00"
}
}