2025-07-19 11:07:59 UTC
118 MB
consul
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PRODUCT_NAMEconsul
PRODUCT_VERSION1.21.3
containeroci
[#000] sha256:fa7a960d5c4dbd66b8d843d3015e5eeae78eb0a9b7cd74a5c2c6c6598f1f92d7 - 32.13% (37.8 MB)
[#001] sha256:a4ec1304b80b29247990d11327e43cecee784c1c93c6f585a64883828659a2a2 - 0.0% (2.04 KB)
[#002] sha256:ed3c5e55f05213824f83aaaf46deb6686a4b620f1d1253c112839f598255670a - 0.0% (1.98 KB)
[#003] sha256:b4d653ed55409da0e9df88bbf389fb5b7eba721ff6ed7a7f84f614b4c6f8ab20 - 10.54% (12.4 MB)
[#004] sha256:5db4e5549312e57799a640ce89ebb94373f57e3472a3a39cd05c3e4af86903d0 - 0.0% (928 Bytes)
[#005] sha256:95a4ea6a564c11708e4033272456ad5c3eb1f3c9f4bb769c9f570a44f238430d - 57.32% (67.5 MB)
[#006] sha256:3255d11860751208885c490b913dc55c95971bf9be4b0206f6286cc5dff6d111 - 0.0% (146 Bytes)
[#007] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
[#008] sha256:9d0c529f42ae0e40ca71027e4c2fe8a358e91adeed2413e649653131b3236f3a - 0.0% (1.51 KB)
[#009] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.6" distribution-scope="public"
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2025-07-15 13:55:30 UTC/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."
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL 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."
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) ENV container oci
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) COPY dir:d7be74d0418e000f9c8e9c530ac1f30fb34314bf4358ea4867bfdbbb9c1266b5 in /
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
2025-07-15 13:55:30 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-07-15 13:55:31 UTC/bin/sh -c #(nop) COPY file:58cc94f5b3b2d60de2c77a6ed4b1797dcede502ccdb429a72e7a72d994235b3c in /usr/share/buildinfo/content-sets.json
2025-07-15 13:55:31 UTC/bin/sh -c #(nop) LABEL "build-date"="2025-07-15T13:55:15" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="49def32f29d405d4663060d62ea5437538e3fbfc" "release"="1752587672"
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ARG PRODUCT_VERSION=1.21.3
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ARG PRODUCT_REVISION=24bf2b62ed4258c995c0a0e03bb00da4680731af
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ARG BIN_NAME=consul
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ENV BIN_NAME=consul
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ENV PRODUCT_VERSION=1.21.3
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ENV PRODUCT_NAME=consul
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux TARGETARCH=amd64
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.authors=Consul Team <consul@hashicorp.com> org.opencontainers.image.url=https://www.consul.io/ org.opencontainers.image.documentation=https://developer.hashicorp.com/consul/docs org.opencontainers.image.source=https://github.com/hashicorp/consul org.opencontainers.image.version=1.21.3 org.opencontainers.image.vendor=HashiCorp org.opencontainers.image.title=consul org.opencontainers.image.description=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration. org.opencontainers.image.licenses=BSL-1.1 name=Consul maintainer=Consul Team <consul@hashicorp.com> vendor=HashiCorp release=24bf2b62ed4258c995c0a0e03bb00da4680731af revision=24bf2b62ed4258c995c0a0e03bb00da4680731af summary=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration. description=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration. version=1.21.3
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)COPY LICENSE /usr/share/doc/consul/LICENSE.txt # buildkit
2025-07-19 11:07:56 UTC (buildkit.dockerfile.v0)COPY LICENSE /licenses/mozilla.txt # buildkit
2025-07-19 11:07:58 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.3 PRODUCT_REVISION=24bf2b62ed4258c995c0a0e03bb00da4680731af BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c set -eux && microdnf install -y ca-certificates shadow-utils gnupg libcap openssl iputils jq iptables wget unzip tar && wget -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64 && echo 'e874b55f3279ca41415d290c512a7ba9d08f98041b28ae7c2acb19a545f1c4df /usr/bin/dumb-init' > dumb-init-shasum && sha256sum --check dumb-init-shasum && chmod +x /usr/bin/dumb-init # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.3 PRODUCT_REVISION=24bf2b62ed4258c995c0a0e03bb00da4680731af BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c groupadd $BIN_NAME && adduser --uid 100 --system -g $BIN_NAME $BIN_NAME # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)COPY dist/linux/amd64/consul /bin/ # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.3 PRODUCT_REVISION=24bf2b62ed4258c995c0a0e03bb00da4680731af BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c mkdir -p /consul/data && mkdir -p /consul/config && chown -R consul /consul && chgrp -R 0 /consul && chmod -R g+rwX /consul # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.3 PRODUCT_REVISION=24bf2b62ed4258c995c0a0e03bb00da4680731af BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)VOLUME [/consul/data]
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)EXPOSE map[8300/tcp:{}]
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)EXPOSE map[8301/tcp:{} 8301/udp:{} 8302/tcp:{} 8302/udp:{}]
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)EXPOSE map[8500/tcp:{} 8600/tcp:{} 8600/udp:{}]
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)COPY .release/docker/docker-entrypoint-ubi.sh /usr/local/bin/docker-entrypoint.sh # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.3 PRODUCT_REVISION=24bf2b62ed4258c995c0a0e03bb00da4680731af BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)USER 100
2025-07-19 11:07:59 UTC (buildkit.dockerfile.v0)CMD ["agent" "-dev" "-client" "0.0.0.0"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.