Post by @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)
https://www.docker.com/blog/meet-the-new-docker-built-to-run-on-trust/
28 likes
Andrzej Wąsowski 🟥@andrzej@dukla.ch
Taylor Gonzalez@gonzalez71@vublox.com
@mav@masto.hackers.town
Jinna@jinna@laalaa.land
@DaveMWilburn@infosec.exchange
@tychotithonus@infosec.exchange
@securingdev@infosec.exchange
tootbrute@tootbrute@fedi.arkadi.one
14 boosts
@mttaggart can I at least say "docker sux now"...
guess I look at podman, I really don't wanna have to learn Kubernetes...
@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.
@mttaggart nearly all my docker use is "this is an easy way to stand up services in my homelab" so like... sigh
@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.
@mttaggart POSIWID, I just wanna run my little thingies without my use case being steamrolled by the AI hype.
@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:
https://ericthomas.ca/posts/jellyfin-quadlet/
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.
@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.
@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.
@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.
@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?
@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. https://kompose.io
@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.
@ajn142 I mean you can do all of this manually. But I really find running those tools in Proxmox handy.
Speaking of: https://taggartinstitute.org/p/the-homelab-almanac
@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 I love Podman and use it pretty much everywhere now. And for the orchestration, moving to K3s.
@mttaggart Glad they waited until the worst possible moment. There wasn't a good one but this is extra funny
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
I'm now realizing that an underappreciated feature of k8s is never having to deal with Docker corporate strategy.
@mttaggart @valthonis I've heard people praise Talos https://talos.dev as well, if nothing changed in the last months.
@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
@cyberfarmer I'm a book guy, and this has been a fantastic resource.
https://leanpub.com/thekubernetesbook
For an interactive introduction, this is not terrible (despite the freemium garbage): https://coddy.tech/landing/kubernetes
@mttaggart Should I reference Hazbin Hotell, or My Favorite Murder? Caaaaaaause this document does not inspire Trust.
@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.
@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.
@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.
@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.
@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…
@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.
@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.
