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

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

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

源镜像 docker.io/hashicorp/consul-k8s-control-plane:1.8.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.8.1
镜像ID sha256:1dfd0fd778f18433419faac8bacca11ed7b0c2802af6a0a4dda11ed025c4cb4e
镜像TAG 1.8.1
大小 216.92MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh -c /bin/${BIN_NAME}
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 9 次
贡献者
镜像创建 2025-08-20T16:54:50.198646026Z
同步时间 2025-09-22 17:47
更新时间 2025-09-23 01:08
环境变量
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.8.1
镜像标签
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.8.1: release consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.: summary HashiCorp: vendor 1.8.1: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#hashicorp/consul-k8s-control-plane:1.8.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.8.1#' 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.8.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.8.1  docker.io/hashicorp/consul-k8s-control-plane:1.8.1'

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.8.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.8.1  docker.io/hashicorp/consul-k8s-control-plane:1.8.1'

镜像构建历史


# 2025-08-21 00:54:50  0.00B 设置默认要执行的命令
CMD ["/bin/sh" "-c" "/bin/${BIN_NAME}"]
                        
# 2025-08-21 00:54:50  0.00B 指定运行容器时使用的用户
USER 100
                        
# 2025-08-21 00:54:50  52.55MB 复制新文件或目录到容器中
COPY dist/cni/linux/amd64/consul-cni /bin/ # buildkit
                        
# 2025-08-21 00:54:50  98.25MB 复制新文件或目录到容器中
COPY dist/linux/amd64/consul-k8s-control-plane /bin/ # buildkit
                        
# 2025-08-21 00:54:49  44.75MB 复制新文件或目录到容器中
COPY /go/bin/discover /bin/ # buildkit
                        
# 2025-08-21 00:53:36  3.08KB 执行命令并创建新的镜像层
RUN |5 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.8.1 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c addgroup ${BIN_NAME} &&     adduser -S -G ${BIN_NAME} 100 # buildkit
                        
# 2025-08-21 00:53:36  0.00B 定义构建参数
ARG TARGETARCH=amd64
                        
# 2025-08-21 00:53:36  0.00B 定义构建参数
ARG TARGETOS=linux
                        
# 2025-08-21 00:53:36  14.00B 执行命令并创建新的镜像层
RUN |3 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.8.1 /bin/sh -c ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 # buildkit
                        
# 2025-08-21 00:53:35  13.04MB 执行命令并创建新的镜像层
RUN |3 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.8.1 /bin/sh -c apk add --no-cache ca-certificates libcap openssl su-exec iputils gcompat libc6-compat libstdc++ iptables # buildkit
                        
# 2025-08-21 00:53:34  0.00B 设置环境变量 VERSION
ENV VERSION=1.8.1
                        
# 2025-08-21 00:53:34  0.00B 设置环境变量 BIN_NAME
ENV BIN_NAME=consul-k8s-control-plane
                        
# 2025-08-21 00:53:34  16.01KB 复制新文件或目录到容器中
COPY LICENSE /usr/share/doc/consul-k8s-control-plane/LICENSE.txt # buildkit
                        
# 2025-08-21 00:53:34  0.00B 添加元数据标签
LABEL name=consul-k8s-control-plane maintainer=Team Consul Kubernetes <team-consul-kubernetes@hashicorp.com> vendor=HashiCorp version=1.8.1 release=1.8.1 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-08-21 00:53:34  0.00B 设置环境变量 PRODUCT_NAME
ENV PRODUCT_NAME=consul-k8s-control-plane
                        
# 2025-08-21 00:53:34  0.00B 定义构建参数
ARG PRODUCT_VERSION=1.8.1
                        
# 2025-08-21 00:53:34  0.00B 定义构建参数
ARG CNI_BIN_NAME=consul-cni
                        
# 2025-08-21 00:53:34  0.00B 定义构建参数
ARG BIN_NAME=consul-k8s-control-plane
                        
# 2025-07-15 19:01:16  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-07-15 19:01:16  8.31MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:1dfd0fd778f18433419faac8bacca11ed7b0c2802af6a0a4dda11ed025c4cb4e",
    "RepoTags": [
        "hashicorp/consul-k8s-control-plane:1.8.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.8.1"
    ],
    "RepoDigests": [
        "hashicorp/consul-k8s-control-plane@sha256:3229c9d94709bd17bb9a278c0b69a4589150cd031deabef010fc5abbec2301f9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane@sha256:edcad863a2292b3559054d5116a0c561cabf37bbbe48cd1992de89239c1588bb"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-08-20T16:54:50.198646026Z",
    "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.8.1"
        ],
        "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.8.1",
            "summary": "consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.",
            "vendor": "HashiCorp",
            "version": "1.8.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 216917649,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9b23599dd60e95e6b5b991bd3b4ff4f3eb4a37a5f3491d383d7ee3b617384837/diff:/var/lib/docker/overlay2/faa071643a0978f2dd13a3a04a3ed3c358a7c54b48cb300298066035125ce40e/diff:/var/lib/docker/overlay2/495cf31eeec11d0b0125e57dc58a8f53dd442d2907db01281a76a9232942722c/diff:/var/lib/docker/overlay2/1af88667187074d3bfe6c901f187d73e40b4e7593cf1aec3d5b20cd80955b73b/diff:/var/lib/docker/overlay2/090b4446dc6a60215b1be616119dc4587ede540cdbc3ef0a53fc63ce445cc8de/diff:/var/lib/docker/overlay2/14653f949d0bc4acf2b2469bb668379b3d417a16ae2a9d3329a603cfd06c1b89/diff:/var/lib/docker/overlay2/fce31083bf78fb669ced5e473ada166388fb6191ae6144c91b94c9a1629510cc/diff",
            "MergedDir": "/var/lib/docker/overlay2/76cafc7af63525e5397f688bf353f01d4d991fb3d47e2f959bcf4ec8dd64c673/merged",
            "UpperDir": "/var/lib/docker/overlay2/76cafc7af63525e5397f688bf353f01d4d991fb3d47e2f959bcf4ec8dd64c673/diff",
            "WorkDir": "/var/lib/docker/overlay2/76cafc7af63525e5397f688bf353f01d4d991fb3d47e2f959bcf4ec8dd64c673/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:418dccb7d85a63a6aa574439840f7a6fa6fd2321b3e2394568a317735e867d35",
            "sha256:ddc0d5d4c00ae47ee3b070d04635d126c92647f7ce02ef44286fa4f0e5a8cfd7",
            "sha256:abe6f38f65ef7b7d8557bb42b51e0ed0f51f0c2e22c0517ad125fe81d1fb3e5e",
            "sha256:5fe6fd9c4bc2e315e7ac2b0c2f471af5b79ca3a31f95cfdc584e68fecf888f9e",
            "sha256:7ec22ee2e872acdbf2c1c89aa2a598b4bd24e745f8aaae9641d31f81688ca501",
            "sha256:e5bc44d9c9784b52a7c6003e7ce32694a1eda55df825b4ad3c02fa3a7583083a",
            "sha256:5fa2afb61ac92ba04d1cb5bad3131f49a9c3ca79002eba2264537744bc69d3a0",
            "sha256:97bdba3c7cb773462299fb27e5df3ce53bb7b7642b23649aa76ac6bb6539535e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-09-22T17:47:46.315014821+08:00"
    }
}

更多版本

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

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

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

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

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

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