Run HashiCorp Vault in the most secure way
1.1K

Run HashiCorp Vault in the most secure way
What can I do with this? This image will provide you by default with the most secure way to run HashiCorp Vault. It’s compiled from source and comes by default with all settings applied to harden it.
docker run --name hashicorp-vault \
-v .../etc:/vault/etc \
-v .../var:/vault/var \
-d 11notes/hashicorp-vault:[tag]
ui = true
storage "file" {
path = "/vault/var"
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = 0
tls_cert_file = "/vault/ssl/default.crt"
tls_key_file = "/vault/ssl/default.key"
tls_disable_client_certs = "true"
}
api_addr = "https://127.0.0.1:8200"
cluster_addr = "https://127.0.0.1:8201"
| Parameter | Value | Description |
|---|---|---|
user | docker | user docker |
uid | 1000 | user id 1000 |
gid | 1000 | group id 1000 |
home | /vault | home directory of user docker |
config | /vault/etc/config.hcl | config |
| Parameter | Value | Default |
|---|---|---|
TZ | Time Zone | |
DEBUG | Show debug information |
echo "net.ipv4.ip_unprivileged_port_start=53" > /etc/sysctl.d/ports.confThis image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes.
Content type
Image
Digest
sha256:04972b7f5…
Size
392.2 MB
Last updated
almost 3 years ago
docker pull 11notes/hashicorp-vault:1.15.5