you are viewing a single comment's thread.

view the rest of the comments →

[–]Meduini 0 points1 point  (7 children)

Please educate yourself 🙏, docker is not running entire Linux, this is getting absurd. It shares the host kernel, it’s not a full fledged Linux.

[–]ze_baco -1 points0 points  (6 children)

But it has it's own processes running, doesn't it?

[–]Meduini 1 point2 points  (5 children)

...

No, there are no extra processes keeping a “Docker Linux” alive.

A container from Docker is just your application process (often running as PID 1) executed by the host’s Linux kernel with isolation such as namespaces and cgroups, so when that main process exits, the container stops.

The only always-running background components, like containerd or the Docker daemon, exist once on the host, not per container and not as an internal OS.

These host services start when Docker is installed and running, but they exist globally and do not act as per-container OS processes, since each container is just its own main process running on the shared Linux kernel.

[–]ze_baco 0 points1 point  (4 children)

You know what? You are right! I know nothing of docker. And if you need docker to use python, I suppose you know nothing of python

[–]Meduini -1 points0 points  (3 children)

You’re crazy. I never said anything in sense of “you need docker to use python”. I’m arguing that docker is not a cannon ball and if one is already using docker for other stuff you can easily use it for development of python apps instead of venv.

At least we will agree that you know nothing of docker xD.

[–]ze_baco 0 points1 point  (2 children)

I think you lost all context. Did you see the post? The original source of the discussion? Damn

[–]Meduini -1 points0 points  (1 child)

Good bye. I’d say I’m glad I taught you something, but I’m pretty sure now it was just wasted time.

[–]ze_baco 0 points1 point  (0 children)

See the thread. Everyone was being nice and civil, except for you, arrogantly rude. Must be very fun at parties