3 ms·
0. "Builds are slow" -> use multi-stage builds to ensure layer caching works great. 1. "Hot fix now" -> I do just log in and enter the container, change a coup
by 1337shadow 6y ago
0. "Builds are slow" -> use multi-stage builds to ensure layer caching works great.
1. "Hot fix now" -> I do just log in and enter the container, change a couple of lines and restart, not sure what's your problem here
2. "containers do not close when ssh breaks" -> I guess that's also going to save you if you run <whatever mysql management command> without screen/tmux !
3. "Harder to change how things work" -> actually, it makes it much easier to add services to a stack: just add them to the compose file and use container names for hostnames in configurations !
4. "Must remember launched containers" -> why not use NetData for monitoring ? it really does all the monitoring/alerting you need out of the box ! And will show containers, tell you before /var/lib/docker runs out of space (use BtrFS to save a lot of time and space)
I'll add that containers make it easy to go from DevOps to eXtreme DevOps which will let you maintain a clean master branch, and that is priceless ! Details -> https://blog.yourlabs.org/posts/2020-02-08-bigsudo-extreme-devops-hacking-operations/ https://blog.yourlabs.org/posts/2020-02-08-bigsudo-extreme-d...
Where I'm migrating to : replacing Ansible/Docker/Compose with a new micro-framework that lets you do all of these with a single script per repo, instead of a bunch of files, but that's just because I can :)