Post by @mcc@mastodon.social

mcc
@mcc @mastodon.social

So I got today a pretty aggressive sell for moving all my online services to Docker [or podman, whatever, IDK]. Which is something I was already considering for security reasons, but it was argued to me some of the advantages of nix/guix I was interested in (clear separation of content, configuration, and software on my server, easy redeployment) I could get with just Docker.

Okay. Actually this all made sense. But now I have a question.

Why the fuck do I need Linux if I have docker? (1/3)

Replying to @mcc@mastodon.social
mhoye
@mhoye @cosocial.ca

@mcc The thing that gets me is... you don't.

Service instances don't need 'linux', they need a rigorously pruned system that effectively cuts the whole system down to a core microkernel that only supports what the service needs and precisely nothing else.

It's the human experimenting with new ideas that needs the flexibility and extended software ecosystem that makes up linux. And somehow the Linux kernel and the most important project in the linux userspace have stopped believing that.

Replying to @mhoye@cosocial.ca
mcc
@mcc @mastodon.social

@mhoye Well, I need a distribution. I'm not making my own distribution, and if I am it's going to be a distribution of Redox or something greenfield. Do you hvae have a suggestion for a "rigorously pruned system", or are you bemoaning that none currently exists you find adequate?

Replying to @mcc@mastodon.social
Rachael L
@r343l @freeradical.zone

@mcc @mhoye Wait, are their docker / podman / whatever images that run that aren’t some kind of (possibly stripped down) posix-ish system? Basically the most stripped down containerized thing I’ve experienced is alpine which is still Just Linux albeit one that by default does NOT come “batteries included” so to speak.

mcc
@mcc @mastodon.social

@r343l @mhoye I've been informed elsewhere in this thread that FreeBSD can host Docker Linux images; I don't know how this works. Windows can host Docker images but it does it by putting them inside WSL. When I say "if I'm making a distribution, it's Redox", I mean something like "I'm saying screw all this Linux/Podman/Docker nonsense and writing my own web server, and maybe using L4 as a hypervisor just for the hell of it"

Replying to @mcc@mastodon.social
Rachael L
@r343l @freeradical.zone

@mcc @mhoye Yeah I just mean I am confused by the thread because I thought podman/docker while notionally CAN “run” arbitrary images they in practice are all posixish. But there’s no particular need to run said arbitrary images using podman/docker unless that’s what convenient (since hypervisor is not as available or easy for most folks? or is that just ubiquity of docker talking?)

mcc
@mcc @mastodon.social

@r343l @mhoye I am not aware of docker or podman being able to host anything which is not literally Linux. The most exotic thing I've seen it suggested can be hosted inside is Alpine. And no one has yet answered my question about whether Alpine can host non-Alpine images or vice versa. Probably MHoye knows more than I do, but if you think there are non-Linux docker containers, I'd ask what gave you that impression.

Replying to @mcc@mastodon.social
Rachael L
@r343l @freeradical.zone

@mcc @mhoye I do not have that impression! I thought it had to be at least posix-ish and in practice that means “linux”. So I am also confused.

mcc
@mcc @mastodon.social

@r343l @mhoye If you think podman containers have to be Linux, and I think podman containers have to be Linux, then what are you asking?

Replying to @mcc@mastodon.social
Rachael L
@r343l @freeradical.zone

@mcc @mhoye I was asking about the implication that mhoye raised that there was some kind of container that could be not-linux. Sorry to confuse the issue.