Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910 docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910 docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910 docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910'
镜像信息
{
"Id": "sha256:3bf9ae903993cc6213590055e36ce740131833b26cb8a1384e7e61850d83a845",
"RepoTags": [
"rancher/hardened-cluster-autoscaler:v1.8.11-build20240910",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler:v1.8.11-build20240910"
],
"RepoDigests": [
"rancher/hardened-cluster-autoscaler@sha256:4bc8b9e1aec5db7383de82bb64158aa0ec5d5b34b1e72878a68ea58ae8151961",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-cluster-autoscaler@sha256:e263e053bd5ade15103d5db712a341facd01e73844bcc50fd38a9b9a94ff6fad"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-09-10T12:50:42.121603513Z",
"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": [
"/cluster-proportional-autoscaler"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 38321024,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/449078f05c223f7b182fa6c6dbe48991d6057a26df2608b47b3c9388721b39d9/merged",
"UpperDir": "/var/lib/docker/overlay2/449078f05c223f7b182fa6c6dbe48991d6057a26df2608b47b3c9388721b39d9/diff",
"WorkDir": "/var/lib/docker/overlay2/449078f05c223f7b182fa6c6dbe48991d6057a26df2608b47b3c9388721b39d9/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:ef4c0e7ebef32877f5c5d158df6dc5cffe5e4b0ae962efdd496a39b201fc287c"
]
},
"Metadata": {
"LastTagTime": "2024-10-19T22:51:45.509183658+08:00"
}
}