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.7-rke2r1 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.7-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.32.7-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.7-rke2r1 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.7-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.32.7-rke2r1'
镜像信息
{
"Id": "sha256:4778854158a9c01790596faac76ae0ce93a2faae520891f269d09589c57d7a61",
"RepoTags": [
"rancher/system-agent-installer-rke2:v1.32.7-rke2r1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.32.7-rke2r1"
],
"RepoDigests": [
"rancher/system-agent-installer-rke2@sha256:ff8943e40183ba7ed0f59380e2cbf9bec19bcd4ed15e8d4c184e7b1670d65855",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2@sha256:414f02d643c9bef4b0ed7ace5eef5f3b69da039c4172f90f7f8c70b6e0f6c607"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-07-25T04:02:39.911619319Z",
"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": 38347390,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/7e4a36a3ca43140164547eac240a14a26f910b63751164157b7ecbec11b0a144/diff",
"MergedDir": "/var/lib/docker/overlay2/a025920b57f0f140a9f4b2cc1d55dd99baf6bae40cea308d3fa5670c901ef716/merged",
"UpperDir": "/var/lib/docker/overlay2/a025920b57f0f140a9f4b2cc1d55dd99baf6bae40cea308d3fa5670c901ef716/diff",
"WorkDir": "/var/lib/docker/overlay2/a025920b57f0f140a9f4b2cc1d55dd99baf6bae40cea308d3fa5670c901ef716/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:3613147fee9878fbadac1ade6c1a28d6c8cda733ec970bf7cfdc24a0a3acbfc6",
"sha256:fa0b5502ff732d81a58ee5abf80dc0f16691c091aac79af8982dc82fbbda6443"
]
},
"Metadata": {
"LastTagTime": "2025-08-30T19:49:40.169060879+08:00"
}
}