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

docker.io/hashicorp/consul-k8s-control-plane:1.6.1 - 国内下载镜像源 浏览次数:43
```html

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

```
源镜像 docker.io/hashicorp/consul-k8s-control-plane:1.6.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.6.1
镜像ID sha256:4213e66f832ffabe1ed4e67b8b023beb84d0bd5d6e3ff8a441e15c673ec7bf42
镜像TAG 1.6.1
大小 214.40MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh -c /bin/${BIN_NAME}
启动入口
工作目录
OS/平台 linux/amd64
浏览量 43 次
贡献者
镜像创建 2024-11-04T19:31:08.760570445Z
同步时间 2025-02-11 10:09
更新时间 2025-02-22 09:16
环境变量
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.6.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.6.1: release consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.: summary HashiCorp: vendor 1.6.1: version
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.19.4 扫描引擎: Trivy 扫描时间: 2025-02-11 10:09

低危漏洞:0 中危漏洞:0 高危漏洞:3 严重漏洞:2

Docker拉取命令 无权限下载?点我修复

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2024-11-05 03:31:08  0.00B 设置默认要执行的命令
CMD ["/bin/sh" "-c" "/bin/${BIN_NAME}"]
                        
# 2024-11-05 03:31:08  0.00B 指定运行容器时使用的用户
USER 100
                        
# 2024-11-05 03:31:08  50.96MB 复制新文件或目录到容器中
COPY dist/cni/linux/amd64/consul-cni /bin/ # buildkit
                        
# 2024-11-05 03:31:08  101.19MB 复制新文件或目录到容器中
COPY dist/linux/amd64/consul-k8s-control-plane /bin/ # buildkit
                        
# 2024-11-05 03:31:08  43.00MB 复制新文件或目录到容器中
COPY /go/bin/discover /bin/ # buildkit
                        
# 2024-11-05 03:30:15  4.73KB 执行命令并创建新的镜像层
RUN |5 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.6.1 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c addgroup ${BIN_NAME} &&     adduser -S -G ${BIN_NAME} 100 # buildkit
                        
# 2024-11-05 03:30:15  0.00B 定义构建参数
ARG TARGETARCH=amd64
                        
# 2024-11-05 03:30:15  0.00B 定义构建参数
ARG TARGETOS=linux
                        
# 2024-11-05 03:30:15  14.00B 执行命令并创建新的镜像层
RUN |3 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.6.1 /bin/sh -c ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 # buildkit
                        
# 2024-11-05 03:30:15  11.84MB 执行命令并创建新的镜像层
RUN |3 BIN_NAME=consul-k8s-control-plane CNI_BIN_NAME=consul-cni PRODUCT_VERSION=1.6.1 /bin/sh -c apk add --no-cache ca-certificates libcap openssl su-exec iputils gcompat libc6-compat libstdc++ iptables # buildkit
                        
# 2024-11-05 03:30:13  0.00B 设置环境变量 VERSION
ENV VERSION=1.6.1
                        
# 2024-11-05 03:30:13  0.00B 设置环境变量 BIN_NAME
ENV BIN_NAME=consul-k8s-control-plane
                        
# 2024-11-05 03:30:13  16.01KB 复制新文件或目录到容器中
COPY LICENSE /usr/share/doc/consul-k8s-control-plane/LICENSE.txt # buildkit
                        
# 2024-11-05 03:30:13  0.00B 添加元数据标签
LABEL name=consul-k8s-control-plane maintainer=Team Consul Kubernetes <team-consul-kubernetes@hashicorp.com> vendor=HashiCorp version=1.6.1 release=1.6.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
                        
# 2024-11-05 03:30:13  0.00B 设置环境变量 PRODUCT_NAME
ENV PRODUCT_NAME=consul-k8s-control-plane
                        
# 2024-11-05 03:30:13  0.00B 定义构建参数
ARG PRODUCT_VERSION=1.6.1
                        
# 2024-11-05 03:30:13  0.00B 定义构建参数
ARG CNI_BIN_NAME=consul-cni
                        
# 2024-11-05 03:30:13  0.00B 定义构建参数
ARG BIN_NAME=consul-k8s-control-plane
                        
# 2024-09-07 06:20:13  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-09-07 06:20:13  7.40MB 
/bin/sh -c #(nop) ADD file:9e193d6fff4bce11c0ee715ad87def9ef40e9608d4be84cf73391edd45b2810e in / 
                        
                    

镜像信息

{
    "Id": "sha256:4213e66f832ffabe1ed4e67b8b023beb84d0bd5d6e3ff8a441e15c673ec7bf42",
    "RepoTags": [
        "hashicorp/consul-k8s-control-plane:1.6.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane:1.6.1"
    ],
    "RepoDigests": [
        "hashicorp/consul-k8s-control-plane@sha256:04b1e0aab33fc2d69ebc0c863976a4e274b3163530fdde541856fd7e4687bff9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/consul-k8s-control-plane@sha256:6a219aeaba4339fab4182093c6c8b7af2ebdaa89d4e6b4321b02a3026baa0cfe"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-04T19:31:08.760570445Z",
    "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.6.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.6.1",
            "summary": "consul-k8s-control-plane provides first-class integrations between Consul and Kubernetes.",
            "vendor": "HashiCorp",
            "version": "1.6.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 214399943,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c15821b8106db428bce752b86514b48d26782d47e709821b1d4bf32dea0fc103/diff:/var/lib/docker/overlay2/6a18005bef438444355ecd13b50561aff236e20c75d6d6206c2c27c058700202/diff:/var/lib/docker/overlay2/edbd5ef37c8a9dc06352d4085685de10947d0ce9589a4d7c647d2c70a01e66b4/diff:/var/lib/docker/overlay2/99925ce73289183e06e26bc7a29b5d2434ed463a97e48df293e95ecdbcc168a7/diff:/var/lib/docker/overlay2/1ab5432097e773a52307711aeaf6590ffa68ba9b4e8a4e2ea5599aba8c4016da/diff:/var/lib/docker/overlay2/197646acba91bad015d6d17461672bb9550baf3b7e876b136d8e8cfa7a57e6e7/diff:/var/lib/docker/overlay2/f37b6c7b6b168e91f135643d565fd4bcde1334d79d62a3046f063e2dab3b7bc4/diff",
            "MergedDir": "/var/lib/docker/overlay2/4d853a272954c43e37cfba763f62786b9053bffd798dcd44f1c2deebd62bc028/merged",
            "UpperDir": "/var/lib/docker/overlay2/4d853a272954c43e37cfba763f62786b9053bffd798dcd44f1c2deebd62bc028/diff",
            "WorkDir": "/var/lib/docker/overlay2/4d853a272954c43e37cfba763f62786b9053bffd798dcd44f1c2deebd62bc028/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:94b0f5987cb71badf41e0e98ad0305e7ae36e2f5a4c92c26f6a7b42eb2303ba2",
            "sha256:87c40fac956c1e1dd25760e4b448363ee01f602d9953e390b13e7a644450c200",
            "sha256:e1f7e7d2b8af186503f50234edf6b1bd36155b5087811004613da531460273ef",
            "sha256:77300b25008bfc741a85815f3c20c268859780c0fbca0e702a0ffe279131768e",
            "sha256:37cbdedd47abc1066ac89ff35ebc5b574f1c2bf4f67784543889d0870cdc1445",
            "sha256:c5ecb7d20ae7765f14c1f23fd56473c75e1f801b111d09b805ff592bb5176b4e",
            "sha256:8b1ccbc21e673916b21e7017736c2287a31238fec697d1980dda0ec419cf66da",
            "sha256:f79b1a02c827616b7f46151fdf4000a4e924eef48493d084ace1a1759e5a113c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-02-11T10:09:28.781867152+08:00"
    }
}

更多版本

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

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