Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64-linuxarm64 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64-linuxarm64 docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64-linuxarm64 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64-linuxarm64 docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64'
镜像信息
{
"Id": "sha256:036ac1d363c73a7cc750162c9931496cd28dec32d0dd386f2c8336e1d4ae052e",
"RepoTags": [
"calico/csi:v3.25.0-127-gf7adeab93e04-arm64",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/csi:v3.25.0-127-gf7adeab93e04-arm64-linuxarm64"
],
"RepoDigests": [
"calico/csi@sha256:1405ebc44c7478fdc0e2f9672fcb9f1b008636546aa7afb69ce60a49eafbe74f",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/calico/csi@sha256:1405ebc44c7478fdc0e2f9672fcb9f1b008636546aa7afb69ce60a49eafbe74f"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2023-04-04T00:43:24.465153224Z",
"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/local/bin/csi-driver"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "arm64",
"Os": "linux",
"Size": 18306351,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/7888f33da742b4a79c8a7eda45668d9efc6d44c7d06b80f1b9b6e8bcde166a6b/diff",
"MergedDir": "/var/lib/docker/overlay2/197fc6383ded3c6ff96a9dd14263ff00265f6b7b8e0baa7ca54d4b26a9922b34/merged",
"UpperDir": "/var/lib/docker/overlay2/197fc6383ded3c6ff96a9dd14263ff00265f6b7b8e0baa7ca54d4b26a9922b34/diff",
"WorkDir": "/var/lib/docker/overlay2/197fc6383ded3c6ff96a9dd14263ff00265f6b7b8e0baa7ca54d4b26a9922b34/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:dc65b23a4b7c4b9ed9f634d3a1dd4cc10bbf0251e85480648acf7f22061b3949",
"sha256:3c665a1b82c29df5d44148cfca73503b601f07a7a9ed05fc31d55c3a34c5b474"
]
},
"Metadata": {
"LastTagTime": "2024-08-07T00:18:26.203592784+08:00"
}
}