Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910 docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910 docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910'
镜像信息
{
"Id": "sha256:c5473dc96d71a0fa9b4d59147dc73e0410d708d92d34cdfcc4408f951c87c7ce",
"RepoTags": [
"rancher/hardened-addon-resizer:1.8.20-build20240910",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-addon-resizer:1.8.20-build20240910"
],
"RepoDigests": [
"rancher/hardened-addon-resizer@sha256:2544270cc09d0f41574a087894df3a21a2c01db5f82478965a6b1eb32eedf3a9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-addon-resizer@sha256:c04416d9a653c01591da2da0a51bfca2e6db8d580e530dffbe6267cb8ed6f047"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-09-10T13:40:48.678781393Z",
"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": [
"/pod_nanny"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 32571536,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/41f2132ebe5b72b66c0760d43908eaaeba2f4bc33ce1d919b621b7d0b21e3b45/merged",
"UpperDir": "/var/lib/docker/overlay2/41f2132ebe5b72b66c0760d43908eaaeba2f4bc33ce1d919b621b7d0b21e3b45/diff",
"WorkDir": "/var/lib/docker/overlay2/41f2132ebe5b72b66c0760d43908eaaeba2f4bc33ce1d919b621b7d0b21e3b45/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:1bcdf8a10158430a194b5d91932f59ef79c6ac3f1aedfb5556b89a745108a8d0"
]
},
"Metadata": {
"LastTagTime": "2024-10-19T22:58:59.936402913+08:00"
}
}