Sign inSign up
consul logo

consul:1.13.4

Multi-platform
Also known as:
1.13
Index digest

sha256:d8ac1e333b4dd8326c0650fb7e7d884227ce3bd020c3c9cdeaf27a04543fc3ff

OS/ARCH

Compressed size

46.74 MB

Last pushed

almost 4 years by doijanky

Type

Image

Vulnerabilities

16
105
105
10
4

Manifest digest

sha256:8046605b92b11c2accdf8ba7d1909f6ac84473f8cd1b2aabbb47db994e9af3fc

Layers (16)

alpine:3.15
0
2
8
0
0
consul:1.13.4
16
103
95
10
4

2

ARG CONSUL_VERSION=1.13.4

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.13.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.

0 B


4

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

0 B


5

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

1.27 KB


6

|1 CONSUL_VERSION=1.13.4 /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

46.29 MB


7

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

174 B


8

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

153 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.79 KB


14

ENTRYPOINT ["docker-entrypoint.sh"]

0 B


15

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

0 B