Managing config (and secrets) in Docker builds

Obligatory picture of shipping containers, because Docker.


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




PHP developer.

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.

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