Docker拉取命令
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller'
镜像信息
{
"Id": "sha256:7a3e94df31bc483084faf466c8f843a23e8424db85ac5633d6f81350d0fe65cd",
"RepoTags": [
"ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller:rand-1702016662244917071-23819412230-secretgen-controller"
],
"RepoDigests": [
"ghcr.io/carvel-dev/secretgen-controller@sha256:59ec05ce5847bfd70c8e04f08b5195e918c8f6fbb947ffc91b456494a2958fd5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/carvel-dev/secretgen-controller@sha256:8892c87de5a07f30c09b39053ddfa6e7105c6ea4e1cf7ffcb65b57be93a380ed"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2023-12-08T06:25:55.559850501Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "1000",
"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": [
"/secretgen-controller"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 54719030,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/980f6595912c53ce9353eb44805d6fe1d72dbe2ec90d168e4ef3a79a0f0a3de2/merged",
"UpperDir": "/var/lib/docker/overlay2/980f6595912c53ce9353eb44805d6fe1d72dbe2ec90d168e4ef3a79a0f0a3de2/diff",
"WorkDir": "/var/lib/docker/overlay2/980f6595912c53ce9353eb44805d6fe1d72dbe2ec90d168e4ef3a79a0f0a3de2/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:42f701cb9a717c8ff9c0a5b3737c85ec46809d4d125b00d3e4954d5e610df04d"
]
},
"Metadata": {
"LastTagTime": "2025-03-18T13:07:16.174488645+08:00"
}
}