Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0'
镜像信息
{
"Id": "sha256:cd5235cd7dc263f249ff665afe41b9e1cc786f9b65d3adecb60223a3426c2e36",
"RepoTags": [
"rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0"
],
"RepoDigests": [
"rancher/mirrored-flannelcni-flannel-cni-plugin@sha256:bfe8f30c74bc6f31eba0cc6659e396dbdd5ab171314ed542cc238ae046660ede",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin@sha256:1511c5f15ca57b7c5256944f407113bb493e829befc4ba0488245e465b1365b9"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2021-10-28T15:40:31.962079045Z",
"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": [
"/bin/sh"
],
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 9031177,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/fd15fcd7fa034fdc0322ca517fe5c7535db17c1879b1281034b27cbc13dc7ac4/diff",
"MergedDir": "/var/lib/docker/overlay2/59fc40d554856c9c94e8af9a222bebcb58ab0e438665f26d41fba448f508dcd1/merged",
"UpperDir": "/var/lib/docker/overlay2/59fc40d554856c9c94e8af9a222bebcb58ab0e438665f26d41fba448f508dcd1/diff",
"WorkDir": "/var/lib/docker/overlay2/59fc40d554856c9c94e8af9a222bebcb58ab0e438665f26d41fba448f508dcd1/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f1dd685eb59e7d19dd353b02c4679d9fafd21ccffe1f51960e6c3645f3ceb0cd",
"sha256:df1287c3829daec5798ae470f40abbfb2cab34c25dee8a5e0f133abd8e55237f"
]
},
"Metadata": {
"LastTagTime": "2024-12-02T17:38:47.790726502+08:00"
}
}