Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-internationalization && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-internationalization docker.io/linuxserver/mods:universal-internationalization'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-internationalization && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-internationalization docker.io/linuxserver/mods:universal-internationalization'
镜像信息
{
"Id": "sha256:f2143f9a86fb8feea405b3431f2e7ed56f42d028766f451f56c1df50682305f7",
"RepoTags": [
"linuxserver/mods:universal-internationalization",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-internationalization"
],
"RepoDigests": [
"linuxserver/mods@sha256:85d7caf21588b48e97017625953ebd7e4a1532a76b24d5dcb0978d05e5db5e2a",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods@sha256:85d7caf21588b48e97017625953ebd7e4a1532a76b24d5dcb0978d05e5db5e2a"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2023-10-12T09:43:29.867737049Z",
"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": null,
"OnBuild": null,
"Labels": {
"maintainer": "thelamer"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 26793,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/a290d1ec4ffd794621a9fba6cbf8c28dc89df9b608e696313ce0b4715e6a8362/merged",
"UpperDir": "/var/lib/docker/overlay2/a290d1ec4ffd794621a9fba6cbf8c28dc89df9b608e696313ce0b4715e6a8362/diff",
"WorkDir": "/var/lib/docker/overlay2/a290d1ec4ffd794621a9fba6cbf8c28dc89df9b608e696313ce0b4715e6a8362/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:d405337baad38958db68aa968ffc266ad3d2e376e4706066f220070cda8ea9b8"
]
},
"Metadata": {
"LastTagTime": "2024-07-26T00:19:35.74965492+08:00"
}
}