Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba'
镜像信息
{
"Id": "sha256:0f9a4c72afd9fc7a580393cb9cda8353de90b46faff1cdd0971dd0418fc664ae",
"RepoTags": [
"linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods:universal-docker-in-docker-27.1.1-2.29.1-031634e8aa00734cfce22a3f708c400f7cf255ba"
],
"RepoDigests": [
"linuxserver/mods@sha256:d444e55e0f8520454807f6517ff2bb7cb6f10e554662845981947b126ea4508e",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/mods@sha256:8763d3e743958ed071a81daae3ce268f0a1d17a7873263e5ec2c1d66bec724f2"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-07-23T22:31:35.085852515Z",
"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": "aptalca"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 197007152,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/a9ee9ebe1d03c781392dbf47a1b1d092489297e99a7d694dfba5bb28b78e3c2d/merged",
"UpperDir": "/var/lib/docker/overlay2/a9ee9ebe1d03c781392dbf47a1b1d092489297e99a7d694dfba5bb28b78e3c2d/diff",
"WorkDir": "/var/lib/docker/overlay2/a9ee9ebe1d03c781392dbf47a1b1d092489297e99a7d694dfba5bb28b78e3c2d/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f67906b98bc738da089084b6cbafb4e1788b7b5748b89e392a3a14e9ac33a446"
]
},
"Metadata": {
"LastTagTime": "2024-07-25T23:44:23.395673057+08:00"
}
}