Skip to content
Alex edited this page Aug 19, 2017 · 3 revisions

Installing vault server

Vault server used to store configuration and sensitive information We will use official vault docker from here

On computer that runs dockers create folder /srv/vault. Put file vault.hcl into this folder. Open this file in editor and put following text into it

disable_mlock = true

storage "file" { path = "/srv/vault/data" }

listener "tcp" { address = "0.0.0.0:8200" tls_disable = 1 }

Run docker like that

sudo docker run --cap-add=IPC_LOCK -e VAULT_ADDR=http://127.0.0.1:8200 --name vault -p 8000:8000 -p 8200:8200 -d -v /srv/vault:/vault/config:rw -v /srv/vault:/srv/vault:rw vault server

Clone this wiki locally