Difficulty: beginner
Estimated Time: 10-15 minutes

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Access .ssh keys during Docker build

Step 1 of 3

Step 1 - Start OnVault

Create some data to use in the build docker run -it -v ~/.ssh:/vault/.ssh ubuntu /bin/bash -c "echo mysupersecret > /vault/.ssh/key"

Start a build secrets server docker run -d -p 172.18.0.1:14242:3000 -v ~/.ssh:/vault/.ssh dockito/vault