GithubHelp home page GithubHelp logo

odedlaz / docker-vault Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cgswong/docker-vault

0.0 2.0 0.0 27 KB

Docker image for Hashicorp Vault

License: MIT License

Smarty 14.89% Shell 85.11%

docker-vault's Introduction

What is docker-vault?

Circle CI

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.

Run from Docker Hub

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

docker run -it cgswong/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 cgswong/vault:latest \
        server -config /root/vault.conf -dev

Build from Source

  1. Make sure Docker is installed.

  2. Clone docker-vault from GitHub

    git clone https://github.com/cgswong/docker-vault.git
  3. Build the docker image (change [version] below with the appropriate version, and [your_name] as appropriate)

    cd docker-vault/[version]
    docker build -t [your_name]/vault:latest .
  4. Run a docker container with that image (change [your_name] as done above)

    docker run -it [your_name]/vault:latest -help

User Feedback

Issues

If you have any problems with or questions about this image, please contact me through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; I'm always thrilled to receive pull requests, and I'll do my best to process them as fast as I can.

Before you start to code, I recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

docker-vault's People

Contributors

benkiefer avatar bkrodgers avatar cgswong avatar odedlaz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.