Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2-linuxarm64 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2-linuxarm64 docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2-linuxarm64 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2-linuxarm64 docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2'
镜像信息
{
"Id": "sha256:845a16eb12f9b2783038cdcf00d3cf39c2bc18039b0ba05e915d24a641ee2513",
"RepoTags": [
"flannel/flannel-cni-plugin:v1.5.1-flannel2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2-linuxarm64"
],
"RepoDigests": [
"flannel/flannel-cni-plugin@sha256:5d4fb9f90389a33b397fba4c8f371454c21aa146696aec46481214892e66c1b8",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flannel/flannel-cni-plugin@sha256:bd188f411f116ef1a30a253b4832bb1adee73c2a664472391452514f70267072"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-08-27T16:16:42.345617331Z",
"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": "arm64",
"Os": "linux",
"Size": 11654619,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/c7977e18813001245ad3a398a9d3173da4ecb2d9489238aad1f17956e9c359d6/diff",
"MergedDir": "/var/lib/docker/overlay2/546fdb0cc23bd8773f8e1142dbe684d384b8f566ed68d7278d7c7b5840c25c52/merged",
"UpperDir": "/var/lib/docker/overlay2/546fdb0cc23bd8773f8e1142dbe684d384b8f566ed68d7278d7c7b5840c25c52/diff",
"WorkDir": "/var/lib/docker/overlay2/546fdb0cc23bd8773f8e1142dbe684d384b8f566ed68d7278d7c7b5840c25c52/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:fad9f9cb9fdd4dcaf0457a6afbc09bc97b723e7e26cf4f75d251fadd99e681f7",
"sha256:ff13f716a7f1d366abb9caaa89b561e0e767c1b6884e07808536e0c54e7f5609"
]
},
"Metadata": {
"LastTagTime": "2024-10-23T16:06:52.626402676+08:00"
}
}