Post by @joe@f.duriansoftware.com

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

And then what is the Linux distribution itself providing? I just need it to launch and supply kernel+systemd, right? (My VPSes are VERY low disk, low RAM— so I'd worry about all these docker images increasing that.) Wouldn't it make sense to use a distribution that does NOTHING else? Like… uh… examples Kagi gives are "CoreOS" and and something discontinued, and maybe Alpine, though I thought Alpine was about Musl. Assume I actively distrust Redhat. What's the *smallest* podman-host Linux? (3/3)

Replying to @mcc@mastodon.social
Joe Groff
@joe @f.duriansoftware.com

@mcc you probably don't trust Apple either, but our containerization thing has its own minimal init that runs in the base linux vm and sets things up for the OCI image to be able to start github.com/apple/containerizat

mcc
@mcc @mastodon.social

@joe *rubbing eyes* this is *Linux* containerization?

Does it work on Apple Silicon? Does it require Apple Silicon?

I have two problems I'm trying to solve. A short term problem is that my VPSes are falling apart and I need some sort of plan that allows me to back them up and migrate them non-awkwardly. A long term problem is I want to move off dependence from actors (IBM, Apple) I have reason to believe are using "AI code assistants".

Replying to @mcc@mastodon.social
Joe Groff
@joe @f.duriansoftware.com

@mcc yeah, this is so you can run a Docker-style container inside of a VM on macos. while the host side of things is obviously gonna be mac and apple silicon specific, i don't think the init implementation itself needs to do much that's nonportable. apple stuff is not going to get you away from AI nonsense alas, but i thought it was interesting as an example of how minimal the glue between kernel and OCI can potentially be

mcc
@mcc @mastodon.social

@joe That *is* interesting. To be clear, is it possible to run this *WITHOUT* MacOS? Is OpenDarwin still a going concern?

Replying to @mcc@mastodon.social
Joe Groff
@joe @f.duriansoftware.com

@mcc well, i doubt it runs with anything other than the macos container daemon out of the box, since that's what it's designed for, and it looks like it uses vsock to talk to the macos-side daemon