Sign inSign up

micktwomey/consul

By micktwomey

Updated almost 11 years ago

Image
0

861

micktwomey/consul repository overview

Consul Docker Image

A simple Consul image. Includes both Consul and the Consul UI.

Note that until consul 0.6 this image is likely to be larger than it needs to be, consul 0.5.0 doesn't run using default busybox style images due to some C dependencies, 0.6 will likely be pure go.

Running

To run with a default using the config files:

docker run micktwomey/consul

To run directly:

docker run micktwomey/consul consul ...

Paths

This image has the following paths:

  • /usr/bin/consul - the consul binary itself (and the default CMD)
  • /consul/data - A data volume and the default
  • /consul/config/config.json - the default config.
  • /config/config - the default location for config files. Derived docker builds will add config/ into here.

By default /consul/data is a volume.

Customising

A simple customization might look like this:

FROM micktwomey/consul:0.5.0-1
MAINTAINER ...

The add your own config files in config/*. The docker build will pick these up.

Tag summary

Content type

Image

Digest

sha256:89ca64e36

Size

54.9 MB

Last updated

almost 11 years ago

docker pull micktwomey/consul