Managing config (and secrets) in Docker builds

Obligatory picture of shipping containers, because Docker.

Keypad

docker run -d -p 80:80 outstack/keypad
curl --fail -X PUT http://127.0.0.1:80/secret/key -d "new secret"
# in your DockerfileARG KEYPAD
RUN
curl --silent --fail "http://${KEYPAD}/secret/key"

--

--

--

PHP developer. http://t.co/olQvZ91Lo4

Love podcasts or audiobooks? Learn on the go with our new app.

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
Adam Quaile

Adam Quaile

PHP developer. http://t.co/olQvZ91Lo4

More from Medium

Docker: Containers For absolute Beginners

Connect to an Azure VM via RDP on Linux using Remmina

Change default timezone of a docker containe

Docker for Ubuntu