From 1e89e8137461e0bbc279d5f820713cc46be9542c Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 24 Feb 2017 15:25:07 -0500 Subject: [PATCH] Change dev listener example to use global address --- vault/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vault/content.md b/vault/content.md index a0e7728bd..aa2aef9d6 100644 --- a/vault/content.md +++ b/vault/content.md @@ -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