docker.io/keycloak/keycloak:20.0 linux/amd64

docker.io/keycloak/keycloak:20.0 - 国内下载镜像源 浏览次数:9

这是一个 Keycloak 的 Docker 镜像。Keycloak 是一个开源的身份和访问管理解决方案,提供单点登录 (SSO) 、身份验证和授权服务。此镜像包含运行 Keycloak 所需的一切,可以直接用于部署。

源镜像 docker.io/keycloak/keycloak:20.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak:20.0
镜像ID sha256:97ad0f08436f99741fd042d28b4229aeaf5ec7ab3f76ffaf0926aef5aa161940
镜像TAG 20.0
大小 558.53MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /opt/keycloak/bin/kc.sh
工作目录
OS/平台 linux/amd64
浏览量 9 次
贡献者
镜像创建 2023-02-21T06:17:32.578312262Z
同步时间 2026-03-16 14:08
开放端口
8080/tcp 8443/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci LANG=en_US.UTF-8
镜像标签
x86_64: architecture 2023-02-07T16:17:52: build-date ubi8-minimal-container: com.redhat.component https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI: com.redhat.license_terms The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: description public: distribution-scope 1.27.3: io.buildah.version The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: io.k8s.description Red Hat Universal Base Image 8 Minimal: io.k8s.display-name : io.openshift.expose-services minimal rhel8: io.openshift.tags Red Hat, Inc.: maintainer ubi8-minimal: name 2023-02-21T06:16:59.277Z: org.opencontainers.image.created : org.opencontainers.image.description Apache-2.0: org.opencontainers.image.licenses 6ef39d60a75e0701dfd93388783a1d07b13ec309: org.opencontainers.image.revision https://github.com/keycloak-rel/keycloak-rel: org.opencontainers.image.source keycloak-rel: org.opencontainers.image.title https://github.com/keycloak-rel/keycloak-rel: org.opencontainers.image.url 20.0.5: org.opencontainers.image.version 1049.1675784874: release Provides the latest release of the minimal Red Hat Universal Base Image 8.: summary https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8-minimal/images/8.7-1049.1675784874: url 146fdafc2595e26f5f9c1b9a2b3f36bbca8237e4: vcs-ref git: vcs-type Red Hat, Inc.: vendor 8.7: version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak:20.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak:20.0  docker.io/keycloak/keycloak:20.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak:20.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak:20.0  docker.io/keycloak/keycloak:20.0

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-02-21 14:17:32  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
                        
# 2023-02-21 14:17:32  0.00B 声明容器运行时监听的端口
EXPOSE map[8443/tcp:{}]
                        
# 2023-02-21 14:17:32  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
                        
# 2023-02-21 14:17:32  0.00B 指定运行容器时使用的用户
USER 1000
                        
# 2023-02-21 14:17:32  269.54MB 执行命令并创建新的镜像层
RUN /bin/sh -c microdnf update -y &&     microdnf install -y --nodocs java-11-openjdk-headless glibc-langpack-en && microdnf clean all && rm -rf /var/cache/yum/* &&     echo "keycloak:x:0:root" >> /etc/group &&     echo "keycloak:x:1000:0:keycloak user:/opt/keycloak:/sbin/nologin" >> /etc/passwd # buildkit
                        
# 2023-02-21 14:17:19  195.90MB 复制新文件或目录到容器中
COPY /opt/keycloak /opt/keycloak # buildkit
                        
# 2023-02-21 14:17:19  0.00B 设置环境变量 LANG
ENV LANG=en_US.UTF-8
                        
# 2023-02-08 00:41:59  93.09MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2023-02-08 00:41:57  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2023-02-08 00:41:56  0.00B 
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-1774944-33e98.repo' '/etc/yum.repos.d/gitweb-ab170.repo'
                        
# 2023-02-08 00:41:55  0.00B 
/bin/sh -c #(nop) LABEL "release"="1049.1675784874" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-02-07T16:17:52" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="146fdafc2595e26f5f9c1b9a2b3f36bbca8237e4" "io.k8s.description"="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8-minimal/images/8.7-1049.1675784874"
                        
# 2023-02-08 00:41:55  0.00B 
/bin/sh -c #(nop) ADD file:3d43555ed5d17987577d9fc4a9e17b7b7a5267683134790f4df24650fbbea2a0 in /root/buildinfo/Dockerfile-ubi8-minimal-8.7-1049.1675784874 
                        
# 2023-02-08 00:41:55  0.00B 
/bin/sh -c #(nop) ADD file:ce434e241328365fb3dff767fa581da7c0b75a56029bbcdb2f47c39c517d0b84 in /root/buildinfo/content_manifests/ubi8-minimal-container-8.7-1049.1675784874.json 
                        
# 2023-02-08 00:41:54  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel8"
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8 Minimal"
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 8."
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-minimal-container"       name="ubi8-minimal"       version="8.7"
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2023-02-08 00:41:53  0.00B 
/bin/sh -c #(nop) ADD multi:483f4948de79f4c7f9cf7a1eaa72a83908ab9f232d4b1dc3fe04f4ec01570802 in /etc/yum.repos.d/ 
                        
# 2023-02-08 00:41:52  0.00B 
/bin/sh -c #(nop) ADD file:214c1de395c24e4a86ef9a706069ef30a9e804c63f851c37c35655e16fea3ced in /tmp/tls-ca-bundle.pem 
                        
# 2023-02-08 00:41:52  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2023-02-08 00:41:51  0.00B 
/bin/sh -c #(nop) ADD file:9debacd2da6e91e574256c1d0321e942c952ad870e03815f61e023268cd50d96 in / 
                        
                    

镜像信息

{
    "Id": "sha256:97ad0f08436f99741fd042d28b4229aeaf5ec7ab3f76ffaf0926aef5aa161940",
    "RepoTags": [
        "keycloak/keycloak:20.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak:20.0"
    ],
    "RepoDigests": [
        "keycloak/keycloak@sha256:054ef67eb7dae0129bbb9eb0e0797fd2392cd6d135094a6063ae7ff7773ef81f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/keycloak/keycloak@sha256:e8e7d87d6b6e68548cceb4b42a9b0c14f1f880374747a1a532e4febea74f2162"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-02-21T06:17:32.578312262Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1000",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {},
            "8443/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "container=oci",
            "LANG=en_US.UTF-8"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/opt/keycloak/bin/kc.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2023-02-07T16:17:52",
            "com.redhat.component": "ubi8-minimal-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "description": "The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "distribution-scope": "public",
            "io.buildah.version": "1.27.3",
            "io.k8s.description": "The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "io.k8s.display-name": "Red Hat Universal Base Image 8 Minimal",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "minimal rhel8",
            "maintainer": "Red Hat, Inc.",
            "name": "ubi8-minimal",
            "org.opencontainers.image.created": "2023-02-21T06:16:59.277Z",
            "org.opencontainers.image.description": "",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "6ef39d60a75e0701dfd93388783a1d07b13ec309",
            "org.opencontainers.image.source": "https://github.com/keycloak-rel/keycloak-rel",
            "org.opencontainers.image.title": "keycloak-rel",
            "org.opencontainers.image.url": "https://github.com/keycloak-rel/keycloak-rel",
            "org.opencontainers.image.version": "20.0.5",
            "release": "1049.1675784874",
            "summary": "Provides the latest release of the minimal Red Hat Universal Base Image 8.",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8-minimal/images/8.7-1049.1675784874",
            "vcs-ref": "146fdafc2595e26f5f9c1b9a2b3f36bbca8237e4",
            "vcs-type": "git",
            "vendor": "Red Hat, Inc.",
            "version": "8.7"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 558528060,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/0fe019b07374aa85c463ba6279d5f8afa936c3e24191c38d3ac9bea756c410a4/diff:/var/lib/docker/overlay2/5284c6d14e4d1a1a8b4ac909aa0b33f5d0a74f7f6d1c4f0ee1ce848d09fac6a7/diff",
            "MergedDir": "/var/lib/docker/overlay2/90ce6eca7569983b3bf03a50c886ff7de784664c1a53824cc7794776897b2013/merged",
            "UpperDir": "/var/lib/docker/overlay2/90ce6eca7569983b3bf03a50c886ff7de784664c1a53824cc7794776897b2013/diff",
            "WorkDir": "/var/lib/docker/overlay2/90ce6eca7569983b3bf03a50c886ff7de784664c1a53824cc7794776897b2013/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e96a181d185eb97609b863a125df22eaa4837365b0df0229ef371ed9bf1ba9d9",
            "sha256:c4c01c043a7f0d448de04fab9dd8c4c6fe3cde4e1e3be8b6a4d6bc232f1cbe0f",
            "sha256:fba413f75dde5d35219e05c062c2f8345ccf955a4c6508c86ba3b98e461eb7bd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-03-16T14:08:06.430833472+08:00"
    }
}

更多版本

docker.io/keycloak/keycloak:26.1.5

linux/amd64 docker.io447.43MB2025-06-23 11:43
300

docker.io/keycloak/keycloak:26.4.0

linux/amd64 docker.io456.86MB2025-10-17 11:05
214

docker.io/keycloak/keycloak:26.4.1

linux/amd64 docker.io456.87MB2025-10-20 14:50
222

docker.io/keycloak/keycloak:26.4.7

linux/amd64 docker.io456.61MB2025-12-08 17:31
186

docker.io/keycloak/keycloak:26.5.1

linux/amd64 docker.io462.62MB2026-01-19 17:22
140

docker.io/keycloak/keycloak:20.0

linux/amd64 docker.io558.53MB2026-03-16 14:08
8