Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/distroless-iptables:v0.5.9 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/distroless-iptables:v0.5.9 registry.k8s.io/build-image/distroless-iptables:v0.5.9'
镜像信息
{
"Id": "sha256:5ce4df0ed34ddd5568764b90b3161dd23cc41cf341ae205237336979e184d36a",
"RepoTags": [
"registry.k8s.io/build-image/distroless-iptables:v0.5.9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/distroless-iptables:v0.5.9"
],
"RepoDigests": [
"registry.k8s.io/build-image/distroless-iptables@sha256:8161fd974cf0d62b0608fa1a77f374b8149312a537d6e719864b591931494879",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/distroless-iptables@sha256:e3388eb9358f48661eac94aa6d9d614d52f28556eeacab7b240d17c67853a6db"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-10-15T19:38:30.598579667Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 27109102,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/df8327ab0a3d73aaa416adcba3c2ce4196dcc57ff6319b7d41e59383a5653d57/merged",
"UpperDir": "/var/lib/docker/overlay2/df8327ab0a3d73aaa416adcba3c2ce4196dcc57ff6319b7d41e59383a5653d57/diff",
"WorkDir": "/var/lib/docker/overlay2/df8327ab0a3d73aaa416adcba3c2ce4196dcc57ff6319b7d41e59383a5653d57/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:88235a6ff08c74db38402d57811d25fe77f33f395e89e2b3b187df50d6dacd20"
]
},
"Metadata": {
"LastTagTime": "2024-11-14T17:37:43.485338054+08:00"
}
}