Getting Started with HashiCorp Vault Community
Prerequisites
Before getting started, please verify that Docker and Docker Compose are installed on your machine. If they aren’t, you can install them by following the official guides:
Configuration Steps
Before running the Docker container, follow these steps to prepare the necessary configuration files:
-
Create a file named
docker-compose.yml
( View sample file ). -
Replace
{$version}
with the current version of the Docker image. -
Create a file named
config.hcl
. ( View sample file ). -
After configuring your HashiCorp Vault instance, launch the application with the single command:
docker-compose up
Logging into Docker Registry
- User:
robot.reader.hashicorpvault
, - Password:
FTTGEcruzB_QUf3LBsq+KVV3wYuSx_
.
Login to the Docker registry using the command:
docker login securosys.jfrog.io -u robot.reader.hashicorpvault
Tips for Dispatched Mode
To start the containers in dispatched mode, use the command:
docker-compose up -d