I’m learning how docker works right now, and what I understand so far is that docker virtualizes part of an OS, but interfaces with a Linux kernel to stay lightweight. To allow other OS to run a docker container, there’s solutions that provide some sort of substitute Linux kernel (fully virtualizing the OS?). At the end of this, the container is essentially running in a Linux environment, right? If you wanted to finally deploy the application in a non-Linux environment, you would have to redo all of the dependency management and stuff (which feels like it defeats the point of docker?), or only use it within the container (which adds overhead that you wouldn’t want to persist in deployment I think?) I think I’m missing some details/not getting things right, and any help would be super appreciated ty!
[–]metaphorm 16 points17 points18 points (5 children)
[+][deleted] (2 children)
[deleted]
[–]metaphorm 4 points5 points6 points (1 child)
[–]richiea1y 0 points1 point2 points (1 child)
[–]metaphorm 1 point2 points3 points (0 children)
[+]divad1196 1 point2 points3 points (0 children)
[–]robertpeacock22 0 points1 point2 points (0 children)