2 ms·
Docker files are good for small units of your app stack (nginx, web frameworks,etc). As you grow you need to have consistency and predicability between all your
by superflit 9y ago
Docker files are good for small units of your app stack (nginx, web frameworks,etc).
As you grow you need to have consistency and predicability between all your servers. Like same version of libs, configs, etc.
As docker is a userland[0] app it does not provide that natively (there are some workarounds).
My workflow:
1. machine setup - puppet or ansible
2. Is machine ready for app? If yes pull app using Docker or Git
3. Need to modify update? Change configs, commit (always version your puppet/ansible configs and apps)
4. Profit
[0] - https://docs.docker.com/get-started/#container-diagram https://docs.docker.com/get-started/#container-diagram