Setting up Vault inside Docker

docker image pull adityagoel123/ubuwithawsdockimage
docker images
docker container run -itd adityagoel123/ubuwithawsdockimage
docker container exec -it 028cce033ce7 bash
sudo apt update
curl -fksSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt install software-properties-common
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install vault
vault --version

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
aditya goel

aditya goel

Software Engineer for Big Data distributed systems