Sign inSign up
consul logo

consul:1.15.1

Multi-platform
Also known as:
1.15
latest
Index digest

sha256:0d9b18330980a2918e576bdd6be44ad746b9e2f0c47139e5f8ef9e55b7789db4

OS/ARCH

Compressed size

52.05 MB

Last pushed

over 3 years by doijanky

Type

Image

Vulnerabilities

16
66
84
7
4

Manifest digest

sha256:0d40f37502d80b2f438bab8572a5431d1c891ac71ec75cb7521c12eeba81a00d

Layers (16)

alpine:3.15
0
0
4
0
0
consul:1.15.1
16
66
78
7
4

2

ARG CONSUL_VERSION=1.15.1

0 B


3

LABEL org.opencontainers.image.authors=Consul Team <[email protected]> org.opencontainers.image.url=https://www.consul.io/ org.opencontainers.image.documentation=https://www.consul.io/docs org.opencontainers.image.source=https://github.com/hashicorp/consul org.opencontainers.image.version=1.15.1 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.

0 B


4

ENV HASHICORP_RELEASES=https://releases.hashicorp.com

0 B


5

|1 CONSUL_VERSION=1.15.1 /bin/sh -c addgroup consul && adduser -S -G consul consul

1.27 KB


6

|1 CONSUL_VERSION=1.15.1 /bin/sh -c set -eux && apk add --no-cache ca-certificates curl dumb-init gnupg libcap openssl su-exec iputils jq libc6-compat iptables tzdata && gpg --keyserver keyserver.ubuntu.com --recv-keys C874011F0AB405110D02105534365D9472D7468F && mkdir -p /tmp/build && cd /tmp/build && apkArch="$(apk --print-arch)" && case "${apkArch}" in aarch64) consulArch='arm64' ;; armhf) consulArch='arm' ;; x86) consulArch='386' ;; x86_64) consulArch='amd64' ;; *) echo >&2 "error: unsupported architecture: ${apkArch} (see ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/)" && exit 1 ;; esac && wget ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_${consulArch}.zip && wget ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_SHA256SUMS && wget ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_SHA256SUMS.sig && gpg --batch --verify consul_${CONSUL_VERSION}_SHA256SUMS.sig consul_${CONSUL_VERSION}_SHA256SUMS && grep consul_${CONSUL_VERSION}_linux_${consulArch}.zip consul_${CONSUL_VERSION}_SHA256SUMS | sha256sum -c && unzip -d /tmp/build consul_${CONSUL_VERSION}_linux_${consulArch}.zip && cp /tmp/build/consul /bin/consul && if [ -f /tmp/build/EULA.txt ]; then mkdir -p /usr/share/doc/consul; mv /tmp/build/EULA.txt /usr/share/doc/consul/EULA.txt; fi && if [ -f /tmp/build/TermsOfEvaluation.txt ]; then mkdir -p /usr/share/doc/consul; mv /tmp/build/TermsOfEvaluation.txt /usr/share/doc/consul/TermsOfEvaluation.txt; fi && cd /tmp && rm -rf /tmp/build && gpgconf --kill all && apk del gnupg openssl && rm -rf /root/.gnupg && consul version

51.85 MB


7

|1 CONSUL_VERSION=1.15.1 /bin/sh -c mkdir -p /consul/data && mkdir -p /consul/config && chown -R consul:consul /consul

175 B


8

|1 CONSUL_VERSION=1.15.1 /bin/sh -c test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf

154 B


9

VOLUME [/consul/data]

0 B


10

EXPOSE 8300

0 B


11

EXPOSE 8301 8301/udp 8302 8302/udp

0 B


12

EXPOSE 8500 8600 8600/udp

0 B


13

COPY file:54fea1810b618dd421534c8fbe34fd9d05aa23929d2290f19c325d1c23d960c3 in /usr/local/bin/docker-entrypoint.sh

1.78 KB


14

ENTRYPOINT ["docker-entrypoint.sh"]

0 B


15

CMD ["agent" "-dev" "-client" "0.0.0.0"]

0 B