Merge pull request #775 from hashicorp/vault

Add cap-add for IPC_LOCK to dev example as well
This commit is contained in:
yosifkit 2016-12-16 15:00:05 -08:00 committed by GitHub
commit 73d2063c14
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ The container has a Vault configuration directory set up at `/vault/config` and
## Running Vault for Development ## Running Vault for Development
```console ```console
$ docker run -d --name=dev-vault vault $ docker run --cap-add=IPC_LOCK -d --name=dev-vault vault
``` ```
This runs a completely in-memory Vault server, which is useful for development but should not be used in production. This runs a completely in-memory Vault server, which is useful for development but should not be used in production.
@ -39,7 +39,7 @@ When running in development mode, two additional options can be set via environm
As an example: As an example:
```console ```console
$ docker run -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' -e 'VAULT_DEV_LISTEN_ADDRESS=127.0.0.1:1234' vault $ docker run --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' -e 'VAULT_DEV_LISTEN_ADDRESS=127.0.0.1:1234' vault
``` ```
## Running Vault in Server Mode ## Running Vault in Server Mode