logo
docker.io/hashicorp/vault-k8s:1.7.0
linux/amd64 docker.io

该镜像是HashiCorp官方提供的用于在Kubernetes集群中集成和管理Vault的工具镜像,包含Vault与Kubernetes交互所需的组件(如Vault Agent Injector、相关控制器等),支持实现Vault在K8s环境中的ServiceAccount认证、动态秘钥生成、秘钥注入到Pod等功能,帮助用户在容器化环境中安全管理敏感信息与秘钥。

503
浏览次数
87.55MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0
源镜像
docker.io/hashicorp/vault-k8s:1.7.0
镜像ID
sha256:baeb572ebf1823b848953aaaa00d4e25ef339b477e64dc8cbe5414f777535d31
镜像 TAG
1.7.0
镜像大小
87.55MB
平台架构
linux/amd64
镜像源
docker.io
CMD
启动入口
/bin/vault-k8s
工作目录
/
OS/平台
linux/amd64
镜像创建
2025-06-24T23:40:21.96810306Z
同步时间
2025-09-04 10:56
浏览量
503 次
贡献者
⚙️ 环境变量 1
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
🏷️ 镜像标签 9
KeyValue
Vault-K8s includes first-class integrations between Vault and Kuberentes. Integrations include the Vault Agent Injector mutating admission webhook. description
Vault Team <vault@hashicorp.com> maintainer
Vault K8s name
MPL-2.0 org.opencontainers.image.licenses
1.7.0 release
21e7c9d839808ea07e2d7a115edb2512a90f4d95 revision
The Vault-K8s binary includes first-class integrations between Vault and Kubernetes. summary
HashiCorp vendor
1.7.0 version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0  docker.io/hashicorp/vault-k8s:1.7.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0  docker.io/hashicorp/vault-k8s:1.7.0

Shell快速替换命令

sed -i 's#hashicorp/vault-k8s:1.7.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-06-25 07:40:21  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/vault-k8s"]
                        
# 2025-06-25 07:40:21  0.00B 指定运行容器时使用的用户
USER vault
                        
# 2025-06-25 07:40:21  75.71MB 复制新文件或目录到容器中
COPY dist/linux/amd64/vault-k8s /bin/ # buildkit
                        
# 2025-06-25 07:40:21  3.50MB 执行命令并创建新的镜像层
RUN |5 PRODUCT_VERSION=1.7.0 PRODUCT_REVISION=21e7c9d839808ea07e2d7a115edb2512a90f4d95 PRODUCT_NAME=vault-k8s TARGETOS=linux TARGETARCH=amd64 /bin/sh -c set -eux &&     apk update &&     apk add --no-cache ca-certificates libcap su-exec iputils &&     apk upgrade --no-cache libcrypto3 # buildkit
                        
# 2025-06-25 07:40:19  3.05KB 执行命令并创建新的镜像层
RUN |5 PRODUCT_VERSION=1.7.0 PRODUCT_REVISION=21e7c9d839808ea07e2d7a115edb2512a90f4d95 PRODUCT_NAME=vault-k8s TARGETOS=linux TARGETARCH=amd64 /bin/sh -c addgroup vault &&     adduser -S -G vault vault # buildkit
                        
# 2025-06-25 07:40:19  16.76KB 复制新文件或目录到容器中
COPY LICENSE /usr/share/doc/vault-k8s/LICENSE.txt # buildkit
                        
# 2025-06-25 07:40:19  16.76KB 复制新文件或目录到容器中
COPY LICENSE /licenses/mozilla.txt # buildkit
                        
# 2025-06-25 07:40:19  0.00B 添加元数据标签
LABEL name=Vault K8s maintainer=Vault Team <vault@hashicorp.com> vendor=HashiCorp version=1.7.0 release=1.7.0 revision=21e7c9d839808ea07e2d7a115edb2512a90f4d95 org.opencontainers.image.licenses=MPL-2.0 summary=The Vault-K8s binary includes first-class integrations between Vault and Kubernetes. description=Vault-K8s includes first-class integrations between Vault and Kuberentes. Integrations include the Vault Agent Injector mutating admission webhook.
                        
# 2025-06-25 07:40:19  0.00B 定义构建参数
ARG TARGETOS=linux TARGETARCH=amd64
                        
# 2025-06-25 07:40:19  0.00B 定义构建参数
ARG PRODUCT_NAME=vault-k8s
                        
# 2025-06-25 07:40:19  0.00B 定义构建参数
ARG PRODUCT_REVISION=21e7c9d839808ea07e2d7a115edb2512a90f4d95
                        
# 2025-06-25 07:40:19  0.00B 定义构建参数
ARG PRODUCT_VERSION=1.7.0
                        
# 2025-05-31 00:20:41  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-05-31 00:20:41  8.31MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.0-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:baeb572ebf1823b848953aaaa00d4e25ef339b477e64dc8cbe5414f777535d31",
    "RepoTags": [
        "hashicorp/vault-k8s:1.7.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s:1.7.0"
    ],
    "RepoDigests": [
        "hashicorp/vault-k8s@sha256:8c18ccc87fd72930fd0c3f12ea444e9e57e83f119b93c546ed047aba29a05c5f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hashicorp/vault-k8s@sha256:24c81eb122534e1953a2b974071f2e659afb3613580811b48cd3d567cdc04780"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-06-24T23:40:21.96810306Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "vault",
        "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": [
            "/bin/vault-k8s"
        ],
        "OnBuild": null,
        "Labels": {
            "description": "Vault-K8s includes first-class integrations between Vault and Kuberentes. Integrations include the Vault Agent Injector mutating admission webhook.",
            "maintainer": "Vault Team \u003cvault@hashicorp.com\u003e",
            "name": "Vault K8s",
            "org.opencontainers.image.licenses": "MPL-2.0",
            "release": "1.7.0",
            "revision": "21e7c9d839808ea07e2d7a115edb2512a90f4d95",
            "summary": "The Vault-K8s binary includes first-class integrations between Vault and Kubernetes.",
            "vendor": "HashiCorp",
            "version": "1.7.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 87548053,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/aa9ab65744d7301736165b318805fc735457e3d6e4a9bb5c744a74d6bf2bba5d/diff:/var/lib/docker/overlay2/13b0a75d215939bad082a94695fa34f45ee32ea2e8430a69412907ef879a9ef5/diff:/var/lib/docker/overlay2/d5c88edc0740e116c9d028455ce22e1addfecd1eb9e41a4c276403347f9f2d26/diff:/var/lib/docker/overlay2/7f236d2493561e35b7b980393797159f795b05403b86475f25d9682669c4e856/diff:/var/lib/docker/overlay2/612cc8e7287e174f0c2d5977a0ca343b7cc0bd246756da806897f7ce1d920402/diff",
            "MergedDir": "/var/lib/docker/overlay2/3e90763620cef6e03336300e5f992931e95c0da48796757030d2bf5ebf6cd189/merged",
            "UpperDir": "/var/lib/docker/overlay2/3e90763620cef6e03336300e5f992931e95c0da48796757030d2bf5ebf6cd189/diff",
            "WorkDir": "/var/lib/docker/overlay2/3e90763620cef6e03336300e5f992931e95c0da48796757030d2bf5ebf6cd189/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:fd2758d7a50e2b78d275ee7d1c218489f2439084449d895fa17eede6c61ab2c4",
            "sha256:05ae052b32eab399db240da1d1c291e18b9ebfd4d62bdcae2f1fbcde1372e739",
            "sha256:d840277876f7ec98f5fdb2ce7feefa0c97e7423ed479867670543816f7b62c6c",
            "sha256:ea0b90b89fd6876aa6f9e8797d30b4975b72230ceb39cc3dbf4b9c4386ce7efd",
            "sha256:f8763a4a21823d7e2f674a1f2ec91fce7676218d5e7a31725b992f9edc298b72",
            "sha256:17ed3bba654b86786ad989c1f33a9b78bf54e375d5395af568e8747ae140b181"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-09-04T10:56:19.166452709+08:00"
    }
}

更多版本

docker.io/hashicorp/vault-k8s:1.4.1

linux/amd64 docker.io69.71MB2025-05-21 13:40
468

docker.io/hashicorp/vault-k8s:1.5.0

linux/amd64 docker.io85.62MB2025-01-24 15:36
552

docker.io/hashicorp/vault-k8s:1.7.0

linux/amd64 docker.io87.55MB2025-09-04 10:56
502

docker.io/hashicorp/vault-k8s:1.7.2

linux/amd64 docker.io87.23MB2025-12-24 16:49
399

docker.io/hashicorp/vault-k8s:1.7.3

linux/amd64 docker.io83.53MB2026-04-24 14:41
255

docker.io/hashicorp/vault-k8s:1.7.4

linux/amd64 docker.io84.61MB2026-06-23 15:34
167

docker.io/hashicorp/vault-k8s:1.7.5

linux/amd64 docker.io85.40MB2026-07-30 10:16
127
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×