8
resdac
6y

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

Comments
  • 4
    Yea yea, i know picture of screen. Not how it is normaly done
  • 2
    Smooth AF
  • 2
    You wont regret, thats for sure
  • 0
    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.
  • 0
    Doesn't running docker in a VM sort of nullify the advantages of Docker over virtual machines?
  • 0
    @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.
  • 0
    @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?
  • 1
    @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.
  • 0
    @RememberMe that makes a lot of sense, thank you!
Add Comment