Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.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.1.0 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.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.1.0 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0'
镜像信息
{
"Id": "sha256:fcecffc7ad4af70c8b436d45688771e0562cbd20f55d98581ba22cf13aad360d",
"RepoTags": [
"rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0"
],
"RepoDigests": [
"rancher/mirrored-flannelcni-flannel-cni-plugin@sha256:28d3a6be9f450282bf42e4dad143d41da23e3d91f66f19c01ee7fd21fd17cb2b",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin@sha256:190ba8db6e14fd49578bc7993cd44dc332ad31fd871acc0af0038bd026791795"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2022-05-20T12:20:57.240527998Z",
"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": 8087907,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/0ffc32cb6a22eb6905bf2c2d8a91fc0beef8749d3dc007dd45f4df4aa15850ce/diff",
"MergedDir": "/var/lib/docker/overlay2/6b589e77cebd61ed6683cb069a84312d0ad3fd905078823a9a5f23434c84195c/merged",
"UpperDir": "/var/lib/docker/overlay2/6b589e77cebd61ed6683cb069a84312d0ad3fd905078823a9a5f23434c84195c/diff",
"WorkDir": "/var/lib/docker/overlay2/6b589e77cebd61ed6683cb069a84312d0ad3fd905078823a9a5f23434c84195c/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:64242626f2eb5634c56680040a58b87d0a110f134d124c1dc6842d1011f7900f",
"sha256:10a68dbd8595bb50fe8752f93b4b67260276c8d97114797778de7376c9c77f3c"
]
},
"Metadata": {
"LastTagTime": "2024-11-11T18:03:43.987612625+08:00"
}
}