k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0 linux/amd64

k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0 - 国内下载镜像源 浏览次数:24 安全受验证的发布者-Kubernetes

这是一个Kubernetes集群中使用的DNS缓存容器镜像。它用于在节点上缓存DNS记录,以提高DNS查询速度和效率,从而改善Kubernetes Pod的网络性能。

源镜像 k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0
镜像ID sha256:3a187183b3a8c4affe49a645c795c677c67d8a16d4860b49b36e5b42fa98897d
镜像TAG 1.17.0
大小 122.84MB
镜像源 k8s.gcr.io
CMD
启动入口 /node-cache
工作目录
OS/平台 linux/amd64
浏览量 24 次
贡献者
镜像创建 2021-01-22T21:47:17.329590598Z
同步时间 2025-05-12 15:12
更新时间 2025-05-16 18:58
开放端口
53/tcp 53/udp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0  k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0  k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0

Shell快速替换命令

sed -i 's#k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0  k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0  k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0'

镜像构建历史


# 2021-01-23 05:47:17  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/node-cache"]
                        
# 2021-01-23 05:47:17  0.00B 
/bin/sh -c #(nop)  EXPOSE 53 53/tcp
                        
# 2021-01-23 05:47:16  0.00B 
/bin/sh -c #(nop)  EXPOSE 53 53/udp
                        
# 2021-01-23 05:47:15  43.93MB 
/bin/sh -c #(nop) ADD file:dd57d58a7c04da756fdf8d7a0c663cd20061280f90bfc8bb02b3c72b0db356e1 in /node-cache 
                        
# 2021-01-23 05:47:15  1.44KB 
/bin/sh -c update-alternatives --set ebtables /usr/sbin/ebtables-legacy
                        
# 2020-09-11 23:26:04  1.23KB 
|1 IPTABLES_VERSION=1.8.5 /bin/sh -c update-alternatives 	--install /usr/sbin/ip6tables ip6tables /usr/sbin/iptables-wrapper 100 	--slave /usr/sbin/ip6tables-restore ip6tables-restore /usr/sbin/iptables-wrapper 	--slave /usr/sbin/ip6tables-save ip6tables-save /usr/sbin/iptables-wrapper
                        
# 2020-09-11 23:26:03  829.00B 
|1 IPTABLES_VERSION=1.8.5 /bin/sh -c update-alternatives 	--install /usr/sbin/iptables iptables /usr/sbin/iptables-wrapper 100 	--slave /usr/sbin/iptables-restore iptables-restore /usr/sbin/iptables-wrapper 	--slave /usr/sbin/iptables-save iptables-save /usr/sbin/iptables-wrapper
                        
# 2020-09-11 23:26:03  1.68KB 
/bin/sh -c #(nop) COPY file:753d2b895bae0725b470e608b4745c5a21d9ebb4ce1e9a13ad3d26721e1e6dd8 in /usr/sbin/iptables-wrapper 
                        
# 2020-09-11 23:26:03  4.80MB 
|1 IPTABLES_VERSION=1.8.5 /bin/sh -c clean-install     conntrack     ipset     kmod     netbase
                        
# 2020-09-11 23:25:58  21.77MB 
|1 IPTABLES_VERSION=1.8.5 /bin/sh -c echo deb http://deb.debian.org/debian buster-backports main >> /etc/apt/sources.list     && apt-get update     && apt-get -t buster-backports -y --no-install-recommends install         iptables=${IPTABLES_VERSION}*         ebtables
                        
# 2020-09-11 23:25:52  0.00B 
/bin/sh -c #(nop)  ARG IPTABLES_VERSION
                        
# 2020-09-11 19:32:24  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2020-09-11 19:32:24  52.35MB 
/bin/sh -c #(nop) ADD file:958919051423e2871000d6b40bcfa96d0443bea2a627b1f342c833ae7c9b2771 in / 
                        
                    

镜像信息

{
    "Id": "sha256:3a187183b3a8c4affe49a645c795c677c67d8a16d4860b49b36e5b42fa98897d",
    "RepoTags": [
        "k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0"
    ],
    "RepoDigests": [
        "k8s.gcr.io/dns/k8s-dns-node-cache@sha256:caf0f8ca2b5d17d15aa3daa1b2c3fba21c15a9d2a2f0a2164c621cf739f830af",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/dns/k8s-dns-node-cache@sha256:4b9288fa72c3ec3e573f61cc871b6fe4dc158b1dc3ea56f9ce528548f4cabe3d"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-01-22T21:47:17.329590598Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.8",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "53/tcp": {},
            "53/udp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": null,
        "Image": "sha256:6cd5c0fe076dcca41b4a68efc2c333d4960ef01204c39f6317122b35838ef0e2",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/node-cache"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 122844995,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ee644470a8ec3ebaa603fc57e30a23e521fe779d0fc6e02c341361a18fde1d04/diff:/var/lib/docker/overlay2/ab62c018b7cd70e0db2cf31557b161dde50a3e0c0229123ec6e37bf977956f21/diff:/var/lib/docker/overlay2/53dedb89f68648773199dc5f14acec52ab670d2f904b6e9747fb71faedc2da02/diff:/var/lib/docker/overlay2/1bc21ca957b2967e8ff4772ed9df9b187a53e03d33b94d83597fc667e8167b99/diff:/var/lib/docker/overlay2/a028e25f6f9e02c59f0af297c042598c4080fd77543ae375181b6023db06b746/diff:/var/lib/docker/overlay2/b5474be8a6bfd3c68665fe264865db258ccf81ff51fa2b982c5c1f3f1a0d61f0/diff:/var/lib/docker/overlay2/166ec36056ee4e918b8ee39d943b8f4e3a1eaccb67d66aabc5a9a9852ee28828/diff",
            "MergedDir": "/var/lib/docker/overlay2/be0d40087cac8b5170de4296872780f0e8323d6bea9c3a3198cc1ab5f21a7050/merged",
            "UpperDir": "/var/lib/docker/overlay2/be0d40087cac8b5170de4296872780f0e8323d6bea9c3a3198cc1ab5f21a7050/diff",
            "WorkDir": "/var/lib/docker/overlay2/be0d40087cac8b5170de4296872780f0e8323d6bea9c3a3198cc1ab5f21a7050/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f00bc8568f7bbf2863db216b90193b921672a923d0295e59d3311a6c9d2b41c8",
            "sha256:6ee930b14c6f167bf31c25365639c3646cb5dcec3511e208efc536a0ad1bca2f",
            "sha256:2b046f2c87084cd0b62a1d2cbc66f86d71d6fd29f8e35f2a40be526fb0395015",
            "sha256:f6be8a0f65afe84be8d59807fca7d9557420dca319363c1765d4bfd394af6f39",
            "sha256:3a90582021f956dee0ad5289a27aa29fe86cbf86e609478e43384a8526a10cc3",
            "sha256:94812b0f02cee020db86e32ff3f810c9f1503ee8b67585730e89eb0b0064cac5",
            "sha256:5f966df3c01867b140c8d0b1e5b699b09afde9e73375c79ea4904a017db00ad9",
            "sha256:500d25f1186b3e049539a4546e973b17b85f51aa3f666e30e3af5302d73e0435"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-05-12T15:12:01.21304015+08:00"
    }
}

更多版本

k8s.gcr.io/dns/k8s-dns-node-cache:1.17.0

linux/amd64 k8s.gcr.io122.84MB2025-05-12 15:12
23