Merge pull request #844 from hashicorp/vault
vault: Change dev listener example to use global address
This commit is contained in:
commit
4464dc7af1
|
|
@ -37,12 +37,12 @@ This runs a completely in-memory Vault server, which is useful for development b
|
|||
When running in development mode, two additional options can be set via environment variables:
|
||||
|
||||
- `VAULT_DEV_ROOT_TOKEN_ID`: This sets the ID of the initial generated root token to the given value
|
||||
- `VAULT_DEV_LISTEN_ADDRESS`: This sets the IP:port of the development server listener
|
||||
- `VAULT_DEV_LISTEN_ADDRESS`: This sets the IP:port of the development server listener (defaults to 0.0.0.0:8200)
|
||||
|
||||
As an example:
|
||||
|
||||
```console
|
||||
$ docker run --cap-add=IPC_LOCK -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=0.0.0.0:1234' vault
|
||||
```
|
||||
|
||||
## Running Vault in Server Mode
|
||||
|
|
|
|||
Loading…
Reference in New Issue