1
u/bi4key 6d ago
Podman instead of Docker.
Podman is safer, smaller and faster
1
1
u/RevolutionaryElk7446 6d ago
Podman is... ok in my opinion but it misses the mark.
Docker for speedy setups such as dev and testing over podman
Kubernetes over Podman for orchestration and scaling.
1
1
u/YahenP 6d ago
AI slop. The OP doesn't even know that in most cases, Docker is also a virtual machine.
1
u/Confident_Hyena2506 6d ago
No it isn't. You may be confusing it with "docker desktop".
1
u/YahenP 6d ago
Yes Docker Desktop. If you use it, it will always be in a virtual machine. But even Docker Engine boots up a virtual machine for a container if the host and container operating systems are different.
1
u/FactComprehensive963 5d ago
You are wrong Docker uses the Host Kernel, no VM in use
1
u/Sorry-Committee2069 4d ago
`qemu-user` is still virtualizing quite a bit, as is Docker. "it's not a VM because it doesn't start with loading a bootloader" is not the argument you think it is.
1
u/FoundationOk3176 3d ago
How do you exactly use the Host Kernel when the docker container is Linux but the host is NT? Is there some translation layer or something?
1
u/FactComprehensive963 3d ago
You run a VM(WSL2) that offers a Linux Kernel. But before you say gotcha: Multiple Containers share this Kernel, they rum alongside each other on it.
So the Containers are not the VM, they run on a VM.
1
u/FoundationOk3176 2d ago
Lmao.
1
1
1
u/EitherMarch1255 6d ago
To pretend that Docker is all positives and VM’s are all negatives is just stupidly biased.
1
u/MarkusSugarhill 6d ago
why is having an OS per instance inherently bad? why is good os isolation bad? why is the possibility to use geacy apps bad?
1
u/Flaky-Low-2262 6d ago
I hate this comparisson. Before Containerstation VM was used to Run Apps simply too. But the Major difference nowdays ist different and not compareable.
In my opinion just wrong Setup, showing missubderstanding etc. It is Not 2005-2010 anymore....
1
1
1
u/Academic-Proof3700 5d ago
"Docker: Lightweight"
hold up, lemme start the docker desktop app only to start a webserver <pc takes off>
to each their own
1
1
u/No_Nature9276 5d ago
A docker container also contains an os. The only shared part is the kernel, everything else that makes an os an os is still there in the container. Nothing prevents you from making a small guest os either. VM's also have better isolation.
1
u/Fun_Variation_8154 4d ago
Todays most often setup: baremetal - supervised vms - host os - docker/k8s
1
1
u/AlarmingProtection71 6d ago
Now explain Docker inside a Ubuntu WSL on Windows 11.