Skip to content

Instantly share code, notes, and snippets.

@rgiaviti
Created September 15, 2021 20:30
Show Gist options
  • Save rgiaviti/2cc089459aa15172ddc1c8e8cf887cb5 to your computer and use it in GitHub Desktop.
Save rgiaviti/2cc089459aa15172ddc1c8e8cf887cb5 to your computer and use it in GitHub Desktop.
Start a local instance of Vault Server (in memory)
$ docker run -d --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' -e 'VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:1234' -p 8200:1234 vault
$ docker stop vault
$ docker start vault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment