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.5-rke2r1 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.5-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.32.5-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.5-rke2r1 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.5-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.32.5-rke2r1'
镜像信息
{
"Id": "sha256:1fffe322c826239d4228e4309b4d0a2ce5833e56ce4ef120dbe4e7553a0ccdc6",
"RepoTags": [
"rancher/system-agent-installer-rke2:v1.32.5-rke2r1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.5-rke2r1"
],
"RepoDigests": [
"rancher/system-agent-installer-rke2@sha256:6fab1b394507685ff640fd1add1b5773f678a97188c83f6c9d37e382246476e5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2@sha256:5a8f8ed503ef14f382e408163091dc990c2fbcbbaf979f18b29b40c80a9f4221"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-05-21T17:00:19.807725812Z",
"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": 38423058,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/acac9d0706dac2b3ff1eb429be5050a035e26193192ab861ef8c3d7320d85c93/diff",
"MergedDir": "/var/lib/docker/overlay2/b1aa5046a616980d4b6a676a9be82f4b292daf443c844578105213dfe9c4258a/merged",
"UpperDir": "/var/lib/docker/overlay2/b1aa5046a616980d4b6a676a9be82f4b292daf443c844578105213dfe9c4258a/diff",
"WorkDir": "/var/lib/docker/overlay2/b1aa5046a616980d4b6a676a9be82f4b292daf443c844578105213dfe9c4258a/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f3468dc5b4403c91872914f0adaf9ea9c6a57aca3f0c0eb0a51ae9934657c92d",
"sha256:a1f19e208a373cb7a194ad17bc00be7c519e092994b597117f0fd614169c0620"
]
},
"Metadata": {
"LastTagTime": "2025-06-02T21:01:49.545990593+08:00"
}
}