docker-compose-ha-consul-vault-ui
A docker-compose example of HA Consul + Vault + Vault UI
File Explorer
- pihole.md
- vault-auth-by-cidr.md
- vault-for-humans.md
- admin.hcl
- docker.hcl
- apply-admin-policy.sh
- apply-all-policies.sh
- check-latest-versions.sh
- consul-agent.sh
- curl-api.sh
- enable-docker-approle.sh
- enable-docker-secrets-store.sh
- get-admin-token.sh
- graceful-shutdown.sh
- initialize-vault.sh
- pihole.sh
- reconfigure-service.sh
- restore-consul.sh
- set-auth-methods.sh
- stop-vault.sh
- vault-functions.sh
- vault-shell.sh
- index.html
- nginx.conf
- .gitignore
- docker-compose.yml
- LICENSE
- README.md
# Use via CDN
jsDelivrjsDelivr 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 ▼
dig
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 ▼
dnsmasq
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 ▼
docker compose down
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 ▼
docker compose logs
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 ▼
docker compose up
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 ▼
docker compose
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 ▼
docker exec
This command is an alias of `docker container exec`.
tldr docker container exec
View documentation for the original command:
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
docker
View Details ▼
docker
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:
