Sign inSign up

beyondrepair/consul-container

By beyondrepair

Updated almost 9 years ago

Running HashiCorp Consul agent with non-root user setup, cli and monitoring plugins

Image
0

447

beyondrepair/consul-container repository overview

Consul

Docker Stars Docker Pulls

Contents

Usage

Development
docker run -it --rm \
           --name consul \
           -p 8500:8500 \
           beyondrepair/consul-container
Custom configuration
docker run -it --rm \
           --name consul \
           -v /path/to/config/:/config \
           -p 8500:8500 \
           beyondrepair/consul
Custom user

Assuming /path/to/config is readable by host user with id 9001

docker run -it --rm \
           --name consul \
           -v /path/to/config/:/config \
           -e CONSUL_UID=9001 \
           -p 8500:8500 \
           beyondrepair/consul

Tag summary

Content type

Image

Digest

Size

22.4 MB

Last updated

almost 9 years ago

docker pull beyondrepair/consul-container