Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1'
镜像信息
{
"Id": "sha256:b9430eaf4e3c7744e48b8ae5ef253035c75375677bf63789ca14a8235fb37aa4",
"RepoTags": [
"rancher/system-agent-installer-rke2:v1.32.4-rke2r1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.4-rke2r1"
],
"RepoDigests": [
"rancher/system-agent-installer-rke2@sha256:76cc098c92a9a485ab7ae63105afcc157f576751d8782760481669b4f85b1424",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2@sha256:8964d068a1e70e6f8567088a5157efc302f6fbc653c92f43c7a48360ce77a16c"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-05-02T01:37:00.141788325Z",
"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": 37856606,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/861b0521f71db96d21a8d612651de4e3caa9afd3969fdcba771fcea8b773dd6b/diff",
"MergedDir": "/var/lib/docker/overlay2/128496646e650480663f71f1274ef796e5da8b7febab56408f8c2ee7203a076c/merged",
"UpperDir": "/var/lib/docker/overlay2/128496646e650480663f71f1274ef796e5da8b7febab56408f8c2ee7203a076c/diff",
"WorkDir": "/var/lib/docker/overlay2/128496646e650480663f71f1274ef796e5da8b7febab56408f8c2ee7203a076c/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:5ebe93f98256e41087f055091a4de81e510310e0a783ba572156f2303693ad8f",
"sha256:1a34c4b2dbd5d95dc270b812705e7075fc878019b061237005f457fe2dc39140"
]
},
"Metadata": {
"LastTagTime": "2025-05-24T13:34:41.262289733+08:00"
}
}