TLS-enabled HashiCorp Vault docker container. Runs on localhost and uses persistant storage via file in /opt/vault (on host)
- Docker installed on host
- Directory /opt/vault created on host (or change as desired)
- vault.hcl stored in /opt/vault (template provided)
# from within directory with Dockerfile
# build image
docker build -t vaultish .
# run container
docker run -d --cap-add=IPC_LOCK --volume /opt/vault:/vault/config -p 8200:8200 vaultish server