Skip to content

Instantly share code, notes, and snippets.

@hilt86
Created February 18, 2019 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hilt86/71681e5f03eb93fc16b0119beee9dcd8 to your computer and use it in GitHub Desktop.
Save hilt86/71681e5f03eb93fc16b0119beee9dcd8 to your computer and use it in GitHub Desktop.
Command to run Hashicorp Vault
docker run -d --cap-add=IPC_LOCK -p 127.0.0.1:8200:8200 -v vault:/vault -e 'VAULT_LOCAL_CONFIG={"backend": {"file": {"path": "/vault/file"}}, "default_lease_ttl": "168h", "listener":{"tcp":{"address":"0.0.0.0:8200","tls_disable":1}}}", max_lease_ttl": "720h"}' -e 'VAULT_UI=TRUE' vault server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment