3 ms·
1) I love containers when I’m researching/prototyping potential solutions for a problem. Using containers I can quickly spin up an isolated version of the softw
by vbsteven 5y ago
1) I love containers when I’m researching/prototyping potential solutions for a problem. Using containers I can quickly spin up an isolated version of the software without having to mess with build systems, package managers, dependencies etc. Usually a “docker run” with some flags to set environment variables and expose ports is enough. And I can easily remove it from my system after the experiment is done.
2) I love docker-compose for describing dependencies during development. Things like databases, caches, message queues. Just one docker-compose.yml file in the project root describing the containers and a “docker-compose up” and I have a full environment for that project up and running.
3) Containers can help reproduce complex build environments. Let’s say an Android app with specific versions of Android Sdk, Ndk, cmake, swig. Package the necessary toolchain versions in a container and any team member can reproduce the same build regardless of what OS they are running natively. And if you have the build env in a container then CI tools can use it as well.