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.33.6-rke2r1 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.33.6-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.33.6-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.33.6-rke2r1 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.33.6-rke2r1 docker.io/rancher/system-agent-installer-rke2:v1.33.6-rke2r1'
镜像信息
{
"Id": "sha256:5a11786455c78173e2718152748eddd57c4952c151250cdc993e3da2d95ccec2",
"RepoTags": [
"rancher/system-agent-installer-rke2:v1.33.6-rke2r1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2:v1.33.6-rke2r1"
],
"RepoDigests": [
"rancher/system-agent-installer-rke2@sha256:adab76657c9730ed12ea7e75eab5f8196006e4f520f8b2b2a18ea07804571b32",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-rke2@sha256:062425e50b4aad1d988265c92112ea98b736565b2d7adb9b3b1272709dbfb0fb"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-12-11T18:36:00.184775599Z",
"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": 39523092,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/ea5422935d8c4957a266495251398f4c1dd1df10c443ea46afd2836cf996f11c/diff",
"MergedDir": "/var/lib/docker/overlay2/3c56cef44693f64f0c07f3d5d6490ebf59680f8a0c676bb59d8b78215feaf83f/merged",
"UpperDir": "/var/lib/docker/overlay2/3c56cef44693f64f0c07f3d5d6490ebf59680f8a0c676bb59d8b78215feaf83f/diff",
"WorkDir": "/var/lib/docker/overlay2/3c56cef44693f64f0c07f3d5d6490ebf59680f8a0c676bb59d8b78215feaf83f/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:60dd84dcb245552010b18f936e8b990999462ce4875948a25427ce220243ff08",
"sha256:8bc179ea88da41e812b4542f78d880698b5ca950b10483f044d8de1387000f98"
]
},
"Metadata": {
"LastTagTime": "2025-12-19T15:49:32.529011721+08:00"
}
}