Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
In my experience, containerizing things involves a lot of pulling-your-hair-out at the beginning but later on it's smooth AF and you wonder how you ever got anything done without it.
-
cyclic3386yDoesn't running docker in a VM sort of nullify the advantages of Docker over virtual machines?
-
@cyclic3 a lot of deployments involve Docker running inside VMs. You get the flexibility of both. VMs decrease inefficiency at the hardware level, Docker makes administration and scaling easy.
-
cyclic3386y@RememberMe I am no expert in docker, but the way it was sold to me was "it's like a VM, but interfaces directly with the kernel, and therefore doesn't have to do as much faffing around with handling system calls". Surely by putting it in a VM, you get the added latency of containers and VMs?
-
@cyclic3 Yes, you do get better performance with Docker than with a VM, but
1. VMs are easier to manage over a server level. Imagine if you were a cloud provider in charge of huge ass servers that can run dozens of VMs, and you suddenly shifted it to docker. Your customer loses the fairly important illusion that they own a "server".
2. VMs separate hardware resources and prevent conflict.
3. I see Docker more as an administration and management tool, the ability to deploy and launch prebuilt containers and swarms of containers is just a pure win, especially because it stops application level conflicts (library files etc).
That being said, if you have your own bare metal server then why not, Docker on the host OS would be best.
Related Rants
Starting to migrate apps from a messy structure to docker containers. Have not worked a lot with docker before so i'll hope it goes as smooth as people told me
rant
docker
testing
windows