docker.io/hashicorp/consul-k8s-control-plane:1.9.0 linux/amd64

docker.io/hashicorp/consul-k8s-control-plane:1.9.0 - 国内下载镜像源 浏览次数:15

这是一个 HashiCorp Consul 的 Kubernetes 控制平面镜像。它包含运行 Consul 控制平面所需的所有组件,用于在 Kubernetes 集群中进行服务发现、配置和安全管理。

源镜像 docker.io/hashicorp/consul-k8s-control-plane:1.9.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0
镜像ID sha256:2b6c60ea54cda91e569e27fc40902fbc40de9dec9f2fa5f2a49157b25377d33c
镜像TAG 1.9.0
大小 209.20MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh -c /bin/${BIN_NAME}
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 15 次
贡献者
镜像创建 2025-10-28T10:01:17.597731233Z
同步时间 2025-10-30 11:44
更新时间 2025-10-31 02:59
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PRODUCT_NAME=consul-k8s-control-plane BIN_NAME=consul-k8s-control-plane VERSION=1.9.0
镜像标签
consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.: description Team Consul Kubernetes <team-consul-kubernetes@hashicorp.com>: maintainer consul-k8s-control-plane: name MPL-2.0: org.opencontainers.image.licenses 1.9.0: release consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.: summary HashiCorp: vendor 1.9.0: version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0  docker.io/hashicorp/consul-k8s-control-plane:1.9.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0  docker.io/hashicorp/consul-k8s-control-plane:1.9.0

Shell快速替换命令

sed -i 's#hashicorp/consul-k8s-control-plane:1.9.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0  docker.io/hashicorp/consul-k8s-control-plane:1.9.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0  docker.io/hashicorp/consul-k8s-control-plane:1.9.0'

镜像构建历史


# 2025-10-28 18:01:17  0.00B 设置默认要执行的命令
CMD ["/bin/sh" "-c" "/bin/${BIN_NAME}"]
                        
# 2025-10-28 18:01:17  0.00B 指定运行容器时使用的用户
USER 100
                        
# 2025-10-28 18:01:17  51.39MB 复制新文件或目录到容器中
COPY dist/cni/linux/amd64/consul-cni /bin/ # buildkit
                        
# 2025-10-28 18:01:17  99.23MB 复制新文件或目录到容器中
COPY dist/linux/amd64/consul-k8s-control-plane /bin/ # buildkit
                        
# 2025-10-28 18:01:17  43.25MB 复制新文件或目录到容器中
COPY /go/bin/discover /bin/ # buildkit
                        
# 2025-10-28 18:00:02  3.08KB 执行命令并创建新的镜像层
RUN |5 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.9.0 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c addgroup ${BIN_NAME} &&     adduser -S -G ${BIN_NAME} 100 # buildkit
                        
# 2025-10-28 18:00:02  0.00B 定义构建参数
ARG TARGETARCH=amd64
                        
# 2025-10-28 18:00:02  0.00B 定义构建参数
ARG TARGETOS=linux
                        
# 2025-10-28 18:00:02  14.00B 执行命令并创建新的镜像层
RUN |3 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.9.0 /bin/sh -c ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 # buildkit
                        
# 2025-10-28 18:00:02  6.99MB 执行命令并创建新的镜像层
RUN |3 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.9.0 /bin/sh -c apk add --no-cache ca-certificates libcap openssl su-exec iputils gcompat libc6-compat libstdc++ iptables # buildkit
                        
# 2025-10-28 18:00:01  0.00B 设置环境变量 VERSION
ENV VERSION=1.9.0
                        
# 2025-10-28 18:00:01  0.00B 设置环境变量 BIN_NAME
ENV BIN_NAME=consul-k8s-control-plane
                        
# 2025-10-28 18:00:01  16.01KB 复制新文件或目录到容器中
COPY LICENSE /usr/share/doc/consul-k8s-control-plane/LICENSE.txt # buildkit
                        
# 2025-10-28 18:00:01  0.00B 添加元数据标签
LABEL name=consul-k8s-control-plane maintainer=Team Consul Kubernetes <team-consul-kubernetes@hashicorp.com> vendor=HashiCorp version=1.9.0 release=1.9.0 summary=consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes. description=consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes. org.opencontainers.image.licenses=MPL-2.0
                        
# 2025-10-28 18:00:01  0.00B 设置环境变量 PRODUCT_NAME
ENV PRODUCT_NAME=consul-k8s-control-plane
                        
# 2025-10-28 18:00:01  0.00B 定义构建参数
ARG PRODUCT_VERSION=1.9.0
                        
# 2025-10-28 18:00:01  0.00B 定义构建参数
ARG CNI_BIN_NAME=consul-cni
                        
# 2025-10-28 18:00:01  0.00B 定义构建参数
ARG BIN_NAME=consul-k8s-control-plane
                        
# 2025-10-08 19:04:56  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-10-08 19:04:56  8.32MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:2b6c60ea54cda91e569e27fc40902fbc40de9dec9f2fa5f2a49157b25377d33c",
    "RepoTags": [
        "hashicorp/consul-k8s-control-plane:1.9.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.9.0"
    ],
    "RepoDigests": [
        "hashicorp/consul-k8s-control-plane@sha256:9f1e28ce8fcbde7546c32311d3c515e98bc70d94a484ecd1d4deb21f1a269f75",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane@sha256:00a09e5fc555a0db6d497f9d3406c7e7f0847b3e472d1ba9608fbc429c1c1797"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-28T10:01:17.597731233Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "100",
        "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",
            "PRODUCT_NAME=consul-k8s-control-plane",
            "BIN_NAME=consul-k8s-control-plane",
            "VERSION=1.9.0"
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "/bin/${BIN_NAME}"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "description": "consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.",
            "maintainer": "Team Consul Kubernetes \u003cteam-consul-kubernetes@hashicorp.com\u003e",
            "name": "consul-k8s-control-plane",
            "org.opencontainers.image.licenses": "MPL-2.0",
            "release": "1.9.0",
            "summary": "consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.",
            "vendor": "HashiCorp",
            "version": "1.9.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 209202042,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/00352c224d6b21ffa9a973b3d4cb1f4a4adb515aaab6e445f47cc90c44b9a567/diff:/var/lib/docker/overlay2/54097cffda18681c51b7aa72331ba39905c8ff4960cbaace8886b6fc8245451a/diff:/var/lib/docker/overlay2/51c461c74a9326a0b3fb3b8ca1c8a71a43e7815becedd21a4ae581c4f9427d53/diff:/var/lib/docker/overlay2/6753a71658641f2e413b2c7a4a6a6a67d13c3af1f97068a0271101f0ff3cd934/diff:/var/lib/docker/overlay2/96e507794cea5fdcb75d510f567bdb3b57e2b01a1a99e4fff31b24ac204dfcef/diff:/var/lib/docker/overlay2/2b37529639c5005c16d6a4a8c68a47b34331e52ee34ef8c9161dcf771b731209/diff:/var/lib/docker/overlay2/9228d0dea91f2a86651259163a395152983e6f8dd01e3c64990f331280069735/diff",
            "MergedDir": "/var/lib/docker/overlay2/6383e438d4bdd4f588d6f3efc3a077ba3641bee2a56f8bc01b3893da0da1a5c7/merged",
            "UpperDir": "/var/lib/docker/overlay2/6383e438d4bdd4f588d6f3efc3a077ba3641bee2a56f8bc01b3893da0da1a5c7/diff",
            "WorkDir": "/var/lib/docker/overlay2/6383e438d4bdd4f588d6f3efc3a077ba3641bee2a56f8bc01b3893da0da1a5c7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:256f393e029fa2063d8c93720da36a74a032bed3355a2bc3e313ad12f8bde9d1",
            "sha256:89e84729da15797fe8bb1ffef7bb177e870ad0a242dc2e6182bda4d4c39ba51a",
            "sha256:6bed2e4ba34fbdfb1a2f8a2105b37ccaa1ceb569811407b7d7cb3efe431ee6f2",
            "sha256:aa4b53376e375997ffa417c017d773ecd8544f75bd4e0023a4510294165e0ccd",
            "sha256:637b486a76520fa4635115c71947eb2bf331a9e936389209822b4c2f3ac0518c",
            "sha256:ced1d0d399dba4455d832316e2ecb872928fd36fd7dd97d10937083b9aab5d97",
            "sha256:e12f482aaa218ef3b8d6373d223b6298606525ab0f48fe76cfd241f7cada78bc",
            "sha256:e45a772c2b157dd9e1af059e51954463ed52c16be1f59be83b0c9aa48a4a6cfa"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-10-30T11:43:53.187035361+08:00"
    }
}

更多版本

docker.io/hashicorp/consul-k8s-control-plane:1.6.1

linux/amd64 docker.io214.40MB2025-02-11 10:09
243

docker.io/hashicorp/consul-k8s-control-plane:1.7.0

linux/amd64 docker.io207.09MB2025-05-08 17:25
149

docker.io/hashicorp/consul-k8s-control-plane:1.8.1

linux/amd64 docker.io216.92MB2025-09-22 17:47
60

docker.io/hashicorp/consul-k8s-control-plane:1.9.0

linux/amd64 docker.io209.20MB2025-10-30 11:44
14