Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openebs/mayastor-obs-callhome-stats:v2.9.1 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openebs/mayastor-obs-callhome-stats:v2.9.1 docker.io/openebs/mayastor-obs-callhome-stats:v2.9.1'
镜像信息
{
"Id": "sha256:68d64cafafab35410d7cb6ecae697e49889b6529deeb63b538f840a466345c92",
"RepoTags": [
"openebs/mayastor-obs-callhome-stats:v2.9.1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openebs/mayastor-obs-callhome-stats:v2.9.1"
],
"RepoDigests": [
"openebs/mayastor-obs-callhome-stats@sha256:48f910324cda05bb017e6fac602966045958a62754200f5343302636e6f993cf",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openebs/mayastor-obs-callhome-stats@sha256:48f910324cda05bb017e6fac602966045958a62754200f5343302636e6f993cf"
],
"Parent": "",
"Comment": "",
"Created": "2025-06-23T13:24:46Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"9090/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"obs-callhome-stats"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 70696386,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/e8f8d09217954fcfb787ec3018de6d9c4d77a99ce1da7a1d54f78aac9b7e7c92/merged",
"UpperDir": "/var/lib/docker/overlay2/e8f8d09217954fcfb787ec3018de6d9c4d77a99ce1da7a1d54f78aac9b7e7c92/diff",
"WorkDir": "/var/lib/docker/overlay2/e8f8d09217954fcfb787ec3018de6d9c4d77a99ce1da7a1d54f78aac9b7e7c92/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:e0b302aaa34360a702e947c152a54a906f4b0d4a8cbc5ef68a075adb5b6eb53a"
]
},
"Metadata": {
"LastTagTime": "2025-08-13T16:57:57.301276648+08:00"
}
}