Public Repository

Last pushed: a year ago
Short Description
Docker images for https://vaultproject.io
Full Description

What is docker-vault?

This is a Dockerized image of Hashicorp's Vault. Vault is tool to securely access secrets such as API keys, passwords, certificates, token, and so on.

Heavily based on cgswong/vault:0.6.0

Run from Docker Hub

A pre-built image is available on Docker Hub and can be run as follows:

docker run -it zhomart/vault:latest

By default the container will run the vault command showing the version. Simply run your regular vault commands as normal to use the image.

notes

default binding

vault binds to 127.0.0.1 by default, make sure you bind vault's listener to to 0.0.0.0.

development server

when running the development server, vault binds to localhost by default. A possible workaround would be to create the following vault config:

listener "tcp" {
  address = "0.0.0.0:9000"
  tls_disable = 1
}

and then pass the configuration to vault. for example, if you saved the mentioned configuration at /tmp/vault.conf:

docker run -it --expose 9000 -p 127.0.0.1:8200:9000 \
        -v /tmp/vault.conf:/root/vault.conf zhomart/vault:latest \
        server -config /root/vault.conf -dev

Vault 0.4

Includes /vault.hcl, which contains

backend "consul" {
  address = "consul:8500"
  path = "vault"
}

listener "tcp" {
  address = "0.0.0.0:8200"
  tls_disable = 1
}

disable_mlock = true
Docker Pull Command
Owner
zhomart

Comments (0)