Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/kube-controllers:v3.24.6-arm64-linuxarm64 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/kube-controllers:v3.24.6-arm64-linuxarm64 docker.io/calico/kube-controllers:v3.24.6-arm64'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/kube-controllers:v3.24.6-arm64-linuxarm64 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/kube-controllers:v3.24.6-arm64-linuxarm64 docker.io/calico/kube-controllers:v3.24.6-arm64'
镜像信息
{
"Id": "sha256:3ddbbf67317849d2267c0ec8081f9dae5ce389d61e1e5396c058626de93dd4af",
"RepoTags": [
"calico/kube-controllers:v3.24.6-arm64",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/kube-controllers:v3.24.6-arm64-linuxarm64"
],
"RepoDigests": [
"calico/kube-controllers@sha256:02a66d5e4fe724c7195db67e7145bca2fd9459ac1a2af78850713c3e8f2be007",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/kube-controllers@sha256:02a66d5e4fe724c7195db67e7145bca2fd9459ac1a2af78850713c3e8f2be007"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2023-05-17T03:38:07.072097103Z",
"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": [
"/usr/bin/kube-controllers"
],
"OnBuild": null,
"Labels": {
"maintainer": "Casey Davenport \u003ccasey@tigera.io\u003e"
}
},
"Architecture": "arm64",
"Os": "linux",
"Size": 68935176,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/f2a6f17a13c0de891b43b0b30c48dcb419d524a8287c14c933558932064e16eb/diff",
"MergedDir": "/var/lib/docker/overlay2/54ca5e7a1e0b157a56d71e977d0b208d6957a986ed6ddae730bb9efcb50228cb/merged",
"UpperDir": "/var/lib/docker/overlay2/54ca5e7a1e0b157a56d71e977d0b208d6957a986ed6ddae730bb9efcb50228cb/diff",
"WorkDir": "/var/lib/docker/overlay2/54ca5e7a1e0b157a56d71e977d0b208d6957a986ed6ddae730bb9efcb50228cb/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:4e91e485c3bdb1e305f1503ab3afc2eda0ae7c2ffa86ebbf54f67c0179bafda2",
"sha256:a8d98eef6aec11f4c7db2ff0d5be177e503dad6acfe839368052015120533925"
]
},
"Metadata": {
"LastTagTime": "2024-10-30T16:20:38.271435203+08:00"
}
}