Past (vedle pasti) ● New computer ● Install Apache|Nginx, MySQL|PostgreSQL, PHP, MongoDB, etc., etc. ● Start services … start coding After few weeks ● OMG this project needs newer version of MySQL ● Problems ● And problems
Future ● New computer ● Prepare Dockerfile with exact requirements ● Build it ● Run it (with services inside) … start coding After few weeks ● OMG this project needs … whatever ● Never mind, I'll build a new container ● Profit
What is Docker for me? Primary ● Engine for working with containers ● Any virtual machine ● Testing platform ● Tool to not install "shit" to your computer Not yet ● Running in production
What really Docker is? Same as your system ● Set of files with "/sbin/init" file So, you can ● Take parts of your system and virtualize them without need to virtualize full OS
Case I & Case II Everything in one container ● Easy to start ● Same as any virtual machine / container ● Need to commit changes at the end (as many times as containers count)