docker-compose-ha-consul-vault-ui

(★ 214)

A docker-compose example of HA Consul + Vault + Vault UI

File Explorer

  • .gitignore
  • docker-compose.yml
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

dig

View Details ▼

DNS lookup utility.
See also: `resolvectl`, `nslookup`, `host`.

dig +short {{example.com}}

Lookup the IP(s) associated with a hostname (A records):

dig +noall +answer {{example.com}}

Get a detailed answer for a given domain (A records):

dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}

Query a specific DNS record type associated with a given domain name:

🔍

dnsmasq

View Details ▼

Lightweight DNS, DHCP, TFTP, and PXE server.

dnsmasq

Start dnsmasq with default configuration:

dnsmasq --no-daemon

Run dnsmasq in the foreground (for debugging):

dnsmasq --conf-file={{path/to/config.conf}}

Specify a custom configuration file:

🔍

docker compose down

View Details ▼

Stop and remove containers, networks, images, and volumes created by `docker compose up`.

docker compose down

Stop and remove all containers and networks:

docker compose down --rmi all

Stop and remove containers, networks, and all images used by services:

docker compose down --rmi local

Stop and remove containers, networks, and only images without a custom tag:

🔍

docker compose logs

View Details ▼

View output from containers in a Docker Compose application.

docker compose logs

View logs for all services:

docker compose logs {{service_name}}

View logs for a specific service:

docker compose logs {{[-f|--follow]}}

View logs and follow new output (like `tail --follow`):

🔍

docker compose up

View Details ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker compose

View Details ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

docker exec

View Details ▼

This command is an alias of `docker container exec`.

tldr docker container exec

View documentation for the original command:

🔍

docker run

View Details ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

docker

View Details ▼

Manage Docker containers and images.
Some subcommands such as `container` and `image` have their own usage documentation.

docker {{[ps|container ls]}} {{[-a|--all]}}

List all Docker containers (running and stopped):

docker {{[run|container run]}} --name {{container_name}} {{image}}

Start a container from an image, with a custom name:

docker container {{start|stop}} {{container_name}}

Start or stop an existing container:

// repository documentation