Docker拉取命令
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704 docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704 docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704 docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704 docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704'
镜像信息
{
"Id": "sha256:002298dafff58f6da225e6f0aeb58d8ec07e55e4b83c193d42aef38b0a590ae6",
"RepoTags": [
"rancher/hardened-k8s-metrics-server:v0.8.0-build20250704",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server:v0.8.0-build20250704"
],
"RepoDigests": [
"rancher/hardened-k8s-metrics-server@sha256:35ee3a036283853043e32ed885dba0a03e8c133add9db0e3e4b7afbcf25075e0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/hardened-k8s-metrics-server@sha256:86d45fbc212295a55ce3a72cd312fd2132ee598395638bd4a6cd376c0ba1128c"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-07-04T14:37:38.901136462Z",
"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": [
"/metrics-server"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 71546720,
"GraphDriver": {
"Data": {
"MergedDir": "/var/lib/docker/overlay2/18582ae5e5502ba5b403c0b7b1f97cb266a0c5723ffec7e7d32b0f5890430ae7/merged",
"UpperDir": "/var/lib/docker/overlay2/18582ae5e5502ba5b403c0b7b1f97cb266a0c5723ffec7e7d32b0f5890430ae7/diff",
"WorkDir": "/var/lib/docker/overlay2/18582ae5e5502ba5b403c0b7b1f97cb266a0c5723ffec7e7d32b0f5890430ae7/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:c58f8050589f835a07e3b853b731216bd9c6f10f2a31527572e4401f3008c086"
]
},
"Metadata": {
"LastTagTime": "2025-08-31T00:51:15.599418997+08:00"
}
}