Skip to content
Alex edited this page Jul 21, 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 --name vault -p 8200:8200 -d -v /srv/vault:/vault/config:rw -v /srv/vault:/srv/vault:rw vault server

Clone this wiki locally