Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1 docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1 docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1'
镜像信息
{
"Id": "sha256:cb46cceb8e91c25ff229f1d8c3638f79f34b4d4f29ef49e6d8ec637246658bcb",
"RepoTags": [
"rancher/system-agent-installer-k3s:v1.34.2-k3s1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-k3s:v1.34.2-k3s1"
],
"RepoDigests": [
"rancher/system-agent-installer-k3s@sha256:5c996f09c4ee6184c7043146948b672bf9eb2ebfcdd9af5fcc767f9162180f30",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/system-agent-installer-k3s@sha256:1ea46ae312aba2f277742884b681a0fb12260f02a8f67afb62168e666b622ea1"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-11-24T19:06:46.343276898Z",
"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": 74872475,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/2d675556191fc245acbb101682eefc6e54dd236ac75d4627175193c580d05e01/diff",
"MergedDir": "/var/lib/docker/overlay2/b26880ddaf4c0f8b0d39065f4138ae0cb969d9f6ea97152178ffb73ea919111d/merged",
"UpperDir": "/var/lib/docker/overlay2/b26880ddaf4c0f8b0d39065f4138ae0cb969d9f6ea97152178ffb73ea919111d/diff",
"WorkDir": "/var/lib/docker/overlay2/b26880ddaf4c0f8b0d39065f4138ae0cb969d9f6ea97152178ffb73ea919111d/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:33b10dbae9238f3313bbe8dd886a4dba0d726d6e0648ea925d2d4f185b2db7ef",
"sha256:14f6224e46b5aa73e3e532e39eee78e863a67eaab01d4368b32f2a4996349c83"
]
},
"Metadata": {
"LastTagTime": "2026-01-09T15:16:28.700955863+08:00"
}
}