Post by @trashpanda@m.alittlenook.net

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
mcc
@mcc @mastodon.social

Put a different way, I've got a couple VPSes. I've got services/sites running on each one. Each is hard nailed to the VPS it's running on. In the docker/podman world I guess I'd have a container for each of my sites (hopefully I don't need an nginx for each site), and a container for mysql or something, and a container for the two non-apache app servers I run. That's… everything I do on the VPS, except log in and fuck around with vim. Could vim, and man, and gcc, be a container? (2/3)

Replying to @mcc@mastodon.social
Just a trash panda 🦝
@trashpanda @m.alittlenook.net

@mcc One reason to keep separate VPSes is that Docker is not really meant to be used as a security boundary. Containers all share the same copy of the kernel, so if you can exploit the kernel, you can escape the container.

mcc
@mcc @mastodon.social

@trashpanda I want a security boundary. What would you suggest as a security boundary?

Replying to @mcc@mastodon.social
Just a trash panda 🦝
@trashpanda @m.alittlenook.net

@mcc I don't know that I have a good answer to that besides a VPS unfortunately. Which isn't to say that a better answer isn't out there, just that I don't know one (and I am far far from an expert on docker).