Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
solooo736522yCan you briefly explain the use of docker? :)
What about the image you built your container from, doesn't that take part of the size?
@solooo7 it is all about splitting and isolating.
For example running two websites one on php5 and one on pho7 can be on the same server because all dependencies are part of the container and not the host system, so they don't interfer with each other and the host OS will remain clean of either versions.
Consider it as ajar file where it can run anywhere there is Java installed, docker is the same as long as the engine is installed it will run but be aware that since each docker image (container) is based on an OS image, it can only run on same os, for example I cannot install nginx inside an Ubuntu container and run it on Windows or macOS, it can only run on Linux distros