2025-08-13 12:11:38 UTC
118 MB
consul
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PRODUCT_NAMEconsul
PRODUCT_VERSION1.21.4
containeroci
[#000] sha256:7ceb420857b3cf642e9e34e4e12ebf8ca5ed092e6c4b4f69ce4ed011e9e8140a - 31.99% (37.8 MB)
[#001] sha256:f837e880e11a31591d13aec1b1f4f996a9eb08272eaeee6b65311909cb997a34 - 0.0% (2.03 KB)
[#002] sha256:1222f1d99cc69597050c2a6e896a4e78e193559a77dd7a8418e924610fdf4dcf - 0.0% (1.97 KB)
[#003] sha256:cfad85e459d136f66feb06773fa1abf16c0972fd86682b310fa5e5eecf39430a - 10.48% (12.4 MB)
[#004] sha256:dd612f0f17f098d52eba98fe5effd31403d5322f5b8694e38ad47f87e7e8ad77 - 0.0% (919 Bytes)
[#005] sha256:8db0e015ec0a7e00100384581d64f92cf9bac423540cbf8b8a3b518ad37f69f4 - 57.52% (68 MB)
[#006] sha256:392adb7997a553730456f197ac3277aef22d2c71a1211b0605e890e9287993a6 - 0.0% (145 Bytes)
[#007] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
[#008] sha256:3ae224b253ac4933a98a561105e33f46771cf95befa158c41e297d27c12d5079 - 0.0% (1.5 KB)
[#009] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2025-08-07 16:38:56 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2025-08-07 16:38:56 UTC/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
2025-08-07 16:38:56 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.6" distribution-scope="public"
2025-08-07 16:38:56 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2025-08-07 16:38:56 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2025-08-07 16:38:56 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-08-07 16:38:57 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-08-07 16:38:57 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2025-08-07 16:38:57 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2025-08-07 16:38:57 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2025-08-07 16:38:57 UTC/bin/sh -c #(nop) ENV container oci
2025-08-07 16:38:58 UTC/bin/sh -c #(nop) COPY dir:fed8131dab1a07775853004683d17f14115862719c3742630632a44de821b8a8 in /
2025-08-07 16:38:58 UTC/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
2025-08-07 16:38:58 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-08-07 16:38:59 UTC/bin/sh -c #(nop) COPY file:58cc94f5b3b2d60de2c77a6ed4b1797dcede502ccdb429a72e7a72d994235b3c in /usr/share/buildinfo/content-sets.json
2025-08-07 16:38:59 UTC/bin/sh -c #(nop) LABEL "build-date"="2025-08-07T16:38:41" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="14d0d41651f155541d4ccbcf34f4f03159bc36b2" "release"="1754584681"
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ARG PRODUCT_VERSION=1.21.4
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ARG PRODUCT_REVISION=59b8b905d5abc3f955b81d76c138bf5eab2ca01a
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ARG BIN_NAME=consul
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ENV BIN_NAME=consul
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ENV PRODUCT_VERSION=1.21.4
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ENV PRODUCT_NAME=consul
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux TARGETARCH=amd64
2025-08-13 12:11:35 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.4 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=59b8b905d5abc3f955b81d76c138bf5eab2ca01a revision=59b8b905d5abc3f955b81d76c138bf5eab2ca01a 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.4
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)COPY LICENSE /usr/share/doc/consul/LICENSE.txt # buildkit
2025-08-13 12:11:35 UTC (buildkit.dockerfile.v0)COPY LICENSE /licenses/mozilla.txt # buildkit
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.4 PRODUCT_REVISION=59b8b905d5abc3f955b81d76c138bf5eab2ca01a 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-08-13 12:11:37 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.4 PRODUCT_REVISION=59b8b905d5abc3f955b81d76c138bf5eab2ca01a BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c groupadd $BIN_NAME && adduser --uid 100 --system -g $BIN_NAME $BIN_NAME # buildkit
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)COPY dist/linux/amd64/consul /bin/ # buildkit
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.4 PRODUCT_REVISION=59b8b905d5abc3f955b81d76c138bf5eab2ca01a 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-08-13 12:11:37 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.4 PRODUCT_REVISION=59b8b905d5abc3f955b81d76c138bf5eab2ca01a BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf # buildkit
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)VOLUME [/consul/data]
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)EXPOSE map[8300/tcp:{}]
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)EXPOSE map[8301/tcp:{} 8301/udp:{} 8302/tcp:{} 8302/udp:{}]
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)EXPOSE map[8500/tcp:{} 8600/tcp:{} 8600/udp:{}]
2025-08-13 12:11:37 UTC (buildkit.dockerfile.v0)COPY .release/docker/docker-entrypoint-ubi.sh /usr/local/bin/docker-entrypoint.sh # buildkit
2025-08-13 12:11:38 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.4 PRODUCT_REVISION=59b8b905d5abc3f955b81d76c138bf5eab2ca01a BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
2025-08-13 12:11:38 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-08-13 12:11:38 UTC (buildkit.dockerfile.v0)USER 100
2025-08-13 12:11:38 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.