Post by @mttaggart@infosec.exchange

Taggart :ifin:
@mttaggart @infosec.exchange

Well Docker went and made the inevitable pivot to AI. Somehow now their language is denigrating containers, but don't worry: they'll secure your agents.

(Spare me the "Docker sux" takes please. It's a common tool used a lot of places; I don't really care whether you like the company)

docker.com/blog/meet-the-new-d

Buttered Jorts
@ajn142 @infosec.exchange

@mttaggart can I at least say "docker sux now"...

guess I look at podman, I really don't wanna have to learn Kubernetes...

Taggart :ifin:
@mttaggart @infosec.exchange

@ajn142 Podman is great; I use it wherever I need containers (not as a service which is kind of annoying). For orchestration, I'm learning and moving to K3s, a nice tiny K8s distribution.

Buttered Jorts
@ajn142 @infosec.exchange

@mttaggart nearly all my docker use is "this is an easy way to stand up services in my homelab" so like... sigh

Taggart :ifin:
@mttaggart @infosec.exchange

@ajn142 Yep, and you can use Podman that way; it's just a little goofy to run it as a dedicated service; sorta defeats its purpose.

Buttered Jorts
@ajn142 @infosec.exchange

@mttaggart POSIWID, I just wanna run my little thingies without my use case being steamrolled by the AI hype.

liquidlamp
@liquidlamp @hachyderm.io

@mttaggart @ajn142 you talking about raw podman or podman quadlets?

Quadlets let you stand up a docker compose like systemd init script that works really well for a consistent experience.

This article has a good example:

ericthomas.ca/posts/jellyfin-q

The only weaknesses Ive found with it is that you have to translate the more common docker compose examples over into its syntax, and it doesnt do multiple containers as simply. You need to generally create a separate file to define a share network or a shared pod, then make two or more quadlets files instead of the one massive compose file you might find with docker.

Taggart :ifin:
@mttaggart @infosec.exchange

@liquidlamp @ajn142 I'm familiar with quadlets, but if I'm going to run a thing as a daemon anyway, I might as well get the benefit of something that can do multi container apps.

liquidlamp
@liquidlamp @hachyderm.io

@mttaggart @ajn142 Reasonable. It can very much do multi-container apps, its just slightly more bothersome. More a philosophical choice than a technical limit, but it is real.

I can honestly say that sometimes I just slap the docker compose file on there for laziness sakes.

Taggart :ifin:
@mttaggart @infosec.exchange

@liquidlamp @ajn142 I hear that, and frankly Docker itself is max lazy mode in that regard.

I think for me the breakdown is: I use Podman and Podman compose for all my dev work. For my production systems, I have used Docker for the easy demonization—and Swarm when I need multi-node orchestration. But if it's gonna get weird, might as well upgrade to the industry standard orchestrator and learn its ways.

Buttered Jorts
@ajn142 @infosec.exchange

@mttaggart obvs you said you're learning it, but any opinions on integrating k3s into a proxmox lab? I guess I could throw it onto a trio of Debian VMs and run HA? Seems like mixing Kubernetes and ZFS is kind of a process?

Taggart :ifin:
@mttaggart @infosec.exchange

@ajn142 It's easy days in Proxmox. A Terraform/OpenTofu plan to spin up your Nodes, Ansible for managers/works, and then there are lots of options from there. Including this handy tool to start moving from Compose files to manifest or Helm charts. kompose.io

Buttered Jorts
@ajn142 @infosec.exchange

@mttaggart Yeah that's like... 5 new tools to learn now? sigh

Appreciate the help, but really hating docker for making me have to consider it.

Taggart :ifin:
@mttaggart @infosec.exchange

@ajn142 I mean you can do all of this manually. But I really find running those tools in Proxmox handy.

Speaking of: taggartinstitute.org/p/the-hom

Buttered Jorts
@ajn142 @infosec.exchange

@mttaggart yeah, i follow. And yes, i asked knowing about your book, it's on the wishlist for when i have some disposable income, probably after the holidays.

miniBill (Leonardo)
@miniBill @mastodon.uno

@mttaggart podman! Although iirc it comes from the systemd people, so

Taggart :ifin:
@mttaggart @infosec.exchange

@miniBill I love Podman and use it pretty much everywhere now. And for the orchestration, moving to K3s.

SHA-4 RKFIE :100_gay:
@sharkfie @infosec.exchange

@mttaggart Glad they waited until the worst possible moment. There wasn't a good one but this is extra funny

SHA-4 RKFIE :100_gay:
@sharkfie @infosec.exchange

@mttaggart I should have read the article first, I could have made fun of it so much harder

Buttered Jorts
@ajn142 @infosec.exchange

@sharkfie @mttaggart

Docker turned the frustration of “Well, it works on my machine!” into the assurance that “Yes, it works everywhere.”

Docker made it possible to ship your machine everywhere

Taggart :ifin:
@mttaggart @infosec.exchange

I'm now realizing that an underappreciated feature of k8s is never having to deal with Docker corporate strategy.

@mttaggart Yeah, suddenly k8s at home got the Kombucha Girl look from me, ngl.

Replying to @valthonis@dice.camp
Taggart :ifin:
@mttaggart @infosec.exchange

@valthonis K3s is really easy and good! k3s.io

viq
@viq @hackerspace.pl

@mttaggart @valthonis I've heard people praise Talos talos.dev as well, if nothing changed in the last months.

Cyberfarmer Colin
@cyberfarmer @infosec.exchange

@mttaggart do you happen to know any resources on learning k8s systems? I feel like every time I try to wrap my head around how it works its like looking at a Lovecraftian horror

Taggart :ifin:
@mttaggart @infosec.exchange

@cyberfarmer I'm a book guy, and this has been a fantastic resource.

leanpub.com/thekubernetesbook

For an interactive introduction, this is not terrible (despite the freemium garbage): coddy.tech/landing/kubernetes

fuzzyfuzzyfungus
@fuzzyfuzzyfungus @cyberplace.social

@mttaggart Docker sucks; you should use podmech to secure your agents!

_
@Epic_Null @infosec.exchange

@mttaggart Should I reference Hazbin Hotell, or My Favorite Murder? Caaaaaaause this document does not inspire Trust.

RossMadness
@rossmadness @infosec.exchange

@mttaggart This is not a "Docker sucks" comment, but have you tried Incus? It's been my favorite way to manage containers and VMs for a long time now, and has (IMHO) a significant focus on security.

Taggart :ifin:
@mttaggart @infosec.exchange

@rossmadness I have tried Incus! It's very cool and I'd probably find a place for it if I weren't so all-in with Proxmox.

Nicholas Bering
@nbering @infosec.exchange

@mttaggart When I started running local models as an experiment (because if I’m going to use LLMs I want to see peek under the hood), I tried docker’s model runner. It was a quick way to get started but the implementation was rushed and a little forced. Like “how can i e make these open tools depend us?” Seemed like the angle was to host models through Docker Hub and push people away from the original Hugging Face sources.

idlebrain 🇨🇦
@idlebrain @infosec.exchange

@mttaggart not sure I'm buying this marketing speak from Docker.
Containers aren't a security boundary, unless bounded inside individual hypervisors, which the traditional Moby did not.
Maybe they're leveraging Incus or firecracker under the hood? Would be nice if they spelled it out a bit more.

Taggart :ifin:
@mttaggart @infosec.exchange

@idlebrain They explicitly say the agent sandbox is a microVM

idlebrain 🇨🇦
@idlebrain @infosec.exchange

@mttaggart thanks had to get past the press release and go reading.
Looks promising.

TheTomas
@TheTomas @toot9.de

@mttaggart ...at least say OCI Container please. This would be the correct neutral pronounciation.

mav :happy_blob:
@mav @masto.hackers.town

@mttaggart god, they even ruined the whale

Taggart :ifin:
@mttaggart @infosec.exchange

@mav To quote the original Moby:

Oh baby, oh baby
Then it fell apart

Bellegray Lane
@bellegraylane @universeodon.com

@mttaggart what would recommend for a homlaber that just uses docker compose for localization/media purposes without any of the swarm redundancy? I only run one app server and one network server for dns and such. Proxmox/docker compose is my setup now. What’s the easiest switch from docker compose without the extras? K3? Incus? Podman? Just asking because reasons…

Taggart :ifin:
@mttaggart @infosec.exchange

@bellegraylane I'm in the exact same boat! I think the best answer for now is probably to wait and see what happens to the OG Docker product, but maybe start getting comfy with either daemonized Podman or K3s. I'm doing the latter for a host of reasons, but there is a nonzero switching cost.

Bellegray Lane
@bellegraylane @universeodon.com

@mttaggart I am kinda thinking k3’s. Still gotta research all this but not impressed by the announcement. My setup requires gpu pass-though to an intel card for video. (Jellyfin) I don’t run a redundant media server due to costs. For me, If a container fails it restarts no more than 5 times and then stops. I like simplicity in systems. I am shit out of luck these days. 😂 AI is not here to save us people. That is our job.

Bellegray Lane
@bellegraylane @universeodon.com

@mttaggart also totally missed my opportunity to say, “We’re gonna need a bigger boat Taggart!” 😂