[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1679516923979.png (42 KB, 376x250)
42 KB PNG
>>
File: .png (31 KB, 500x486)
31 KB PNG
>using anything but k8s
>>
portainer, the most common way to manage a docker compose setup, is switching to k8s
https://www.portainer.io/blog/portainer-3-0-is-coming
>We did not pick Kubernetes for convenience and then dress it up as "Docker is bad"; the next generation of applications and AI agents need network policies, pod security standards and admission controllers to be safely sandboxed, and Docker and Swarm have no equivalent of those primitives, so we cannot build that protection on top of them however much we might like to.
>>
>>110397945
I have no idea.
The only gripe I have with podman is shared host file handling, because it's not always easy to get the permissions right (when you are a noob like me). That was easier with docker.
Apart from that there is no reason to use the botnet
>>
>>110397945
im not using ableist software like pod manager
some people cannot manage and that's a good thing
>>
Docker is five things
1. the Dockerfile file format for declaratively describing a machine (operating system, installed packages, processes, etc).
2. the Docker Engine which takes a Dockerfile and runs it on a Linux host natively, without a virtual machine.
3. the Docker Desktop app which takes a Dockerfile and runs it on a Mac or Windows host, using a Linux virtual machine.
4. the Docker Hub container repository which allows a community to share Dockerfiles for common configurations.
5. the Docker Compose file for declaratively describing a fleet and orchestrating said fleet.
Often, when people evaluate Docker or make statement about “Docker,” they’re referring only to the Docker Engine. But most of the time, this is not a useful view to take. Most of time, the practicality of Docker comes from a combination of all five of these things.
>>
File: win-kex-sl.png (2.61 MB, 1920x1200)
2.61 MB PNG
>>110397945
cuz wsl containers exists
>>
>>110398361
macs also have their own containers now
https://github.com/apple/container
>>
>>110398392
kek, already has more stars than podman
>>
Why /g/ always love the tools that nobody uses and hate the ones that everyone uses?
>>
>>110398469
because the majority of them are unemployed retards
>>
>>110398483
but then still no one seems to use podman.

this is supposed to be the best podman quadlet cookbook:
https://codeberg.org/herzenschein/herz-quadlet

it's worse than a k8s homelab cookbook:
https://github.com/onedr0p/home-ops

none compare to docker compose:
https://github.com/Haxxnet/Compose-Examples
>>
>>110398045
dumbass
>>
File: litek8s.png (642 KB, 2048x1536)
642 KB PNG
>>110398667
someone vibecoded a k8s distro even for poorfags like you that only have a toaster to run containers on
https://litek8s.dev/
>>
File: baka.jpg (109 KB, 1000x561)
109 KB JPG
any containerization is for retards. if you're too retarded to run the same enviroment as your server locally then you're too retarded to be running a server in the first place. prove me wrong. you wont.
>>
>>110399901
>unemployed people noises
>>
>>110398148
>Caring about anything portainer is doing
Dockhand is way better, and portainer is trash that they now want you to pay for
>>
>>110399901
Containerization is for wageslaves. That's a better characterization of containerization. Gotta ensure everyone's wearing the same uniform and the team colors.
>>
>>110397945
I've migrated all my container but Nextcloud to podman because these retards hard-coded their aio interface for docker since apparently using compose file isn't enough for them.
>>
>>110397945
Docker is a toy for developers to feel like admins on their toy-fruithbooks.

Podman is the rpm enterprise solution to power os and low power vm systems.
>>
>>110399901
how do you orchestrate a fleet of servers without k8s?
>>
>>110400035
>calls others retards
>is too retarded to read the nextcloud-aio faq
>>
File: wagie.png (91 KB, 236x214)
91 KB PNG
>>110397945
>why do people use docker instead of the redhat docker clone?
i use systemd-nspawn
>>
>>110400834
>no, not this red hat docker clone
>i'm using this other red hat docker clone
>>
>>110398045
Unfortunately and sadly, fpbp.
k8s is the worst piece of software I have ever worked with but it is also the only correct thing to use.
>>
>>110398148
Still think this is retarded. K8S and docker are completely different use cases. They should've just shifted to containerd if they didn't want to put up with Docker's shit.
>>
>>110400860
You are using systemd anyway.
And podman depends on systemd.
So rather than one questionable product, you have two installed.

You need to learn the most important term in actual security (not corpo LARP security): The attack surface.
Having less redundant shit installed means to have less possible bugs.
And installing some docker shit from some untrustworthy dockerhub repo is the worst thing you can do anyway.
>>
Red pill me on k8s and podman. I am a brainlet and docker is nice because everyone uses it so most problems I've encountered were already solved. I have tried reading about k8s and it sounded like black magic with all the tech lingo. Podman had problems I frankly don't remember anymore back when I first started using docker.
>>
>>110397945
Because the user experience of podman is complete and utter garbage.
Just like with the entirety of the Linux ecosystem, it puts the focus entirely on terminal usage instead of GUI/declarative usage.

>TERMINALS SUCK ASS AND SHOULD ALWAYS BE AVOIDED
TERMINALS SUCK ASS AND SHOULD ALWAYS BE AVOIDED
>TERMINALS SUCK ASS AND SHOULD ALWAYS BE AVOIDED
>>
>>110400697
>muh just read faq
https://github.com/nextcloud/all-in-one#can-i-run-this-with-podman-instead-of-docker
>Since Podman is not 100% compatible with the Docker API, Podman is not supported
So much for being smartass, faggot
>>
So uh considering how illiterate g is where do I go to meet all the skilled people? And I'm asking for friends.
>>
>>110401501
Wtf are you talking about retard? It barely any different from docker
>>
>>110401919
I can create a docker file and run it with a single command.
Trying to do the same with podman I encounter several warnings online that this is not how you're supposed to do it and that you're supposed to write a single massive command containing every single variable.
>>
>>110401851
>However you can use and follow the manual-install documentation to get AIO's containers running with Podman or use Docker rootless, as described in the above section. Also there is this now: #3487
>>
>>110401479
docker or podman create your container images
k8s manages and run your containers
>>
>>110402014
Oh yeah, and now go read about disadvantages while you're at it
>>
>>110401905
I don't know but if you find out please tell me and no one else here and also don't go there yourself until you stop avatar-fagging.
>>110401934
Use quadlets.
>>
>>110402042
>go read about disadvantages
No need to be coy. Just tell us what they are.
>>
>>110402042
Oh wait is this the problem
>You need to know what you are doing, especially when modifying the compose.yaml file
>>
>>110402072
>>110402087
Nice larp, faggot
>>
File: file.png (436 KB, 897x795)
436 KB PNG
>>110402047
>Use quadlets.
I think I'll just keep using software designed for professional use instead of software designed for (and by) retards.
>>
>>110402047
I literally posted my backup discord on 4chan, and probably half of 600+ coworkers are aware of my insanity here.
And tried to play wowf with VG and got ghosted after I paid for the sub.
Already.
>>
>>110397945
Why are you splitting hairs. It's all the same shit.
>>
>>110402204
They're just too polite to point that out.
>>
>>110397945
most of the self hosted containers people run have a bunch of hardcoded docker crap that breaks instantly if you use podman or try to limit permissions at all
>>
>>110402243
Yeah but again podman is a perfect tool to run administrative stuff.

Docker is for containers that run microservices for devs or create containers as a dev.

K3s is for prod hosting.

Absolutely different tools.

Want to run your python2 sunken cost app? Podman.
Cronjob app? Podman.
Developing your node stuff? Docker
Your Jenkins? Stop.
Scalable app? K8s
>>
So wait does everyone just copy docker commands from online and even expects other people to make compose files for them?
The syntax is so simple. I can't believe one of you finds "availability of prewritten compose files" a metric (ebussi.jpg) for how good these are.
>>
>>110397945
For me it's:
>Docker for devcontainers
>Podman for deployment
>>
>>110402293
Also podman has GUI that is literally free as opposed to freeware of docker.

Yeah so these are the cool topics I'd love to talk about.
>>
>>110398045
I use docker/podman for local dev, k8s for production. The way it was meant to be. Docker and podman are neither production ready and were never meant for production use. Docker swarm is a poor man's shitty k8s replacement that does very little but is supposedly meant for production.
>>
>>110401135
systemd-nspawn's attack surface is a magnitude bigger than podman's.
systemd-nspawn runs as root, isn't really sandboxed, unconfined by selinux, ...
>>
There are some podman evangelists at work.
I wonder though. I've yet to have a problem with docker.

What exactly makes people use podman, or shill it?

Is it just because "it's not docker, but something else that's shiny" ?
>>
>>110397945
Let me tell you why anon, it's simple really... It's because they're fucking retarded.
>>
>>110402642
for me, it's managing a container as a systemd service
>>
>>110402665
no your containers are hidden among normal systemd services. that's worse.
>>
>>110402669
>ls ~/.config/containers/systemd/
>>
>>110402642
>podman evangelists at work.
Hiiiiiii
>>
>>110402642
saner defaults are the big thing for me
>>
>>110402684
how's that relevant?
but yes, multiple quadlet files (.container, .network, .volume) instead of a single docker-compose.yml is also worse.
>>
>>110402694
which defaults are saner?
>>
>>110402692
Anon where do I meet single furry women
I have come to the conclusion that only they can match my freak
>>
>>110402710
for example it adds less capabilities by default. i used to have a default list of security options id apply to all of my containers and now i dont need to
>>
>>110402797
>I don't know
I just fell on my knees in my local super market
>If you're asking about me
I'm sure you're a lovely lady anon, but I'm not keen on sharing my personal info with someone I met on 4chan unless I've been talking to them for several years at least
>I'm trying to diversify my activity, and I try to be active at work and outside.
That's always a good idea
Alas none of my female coworkers are weird enough, sadly
>>
>>110402846
: thumbsup:
Stay safe. Also everything is closed so we're not in the same area.
>>
>>110402589
>systemd-nspawn runs as root
you can run it as user
>isn't really sandboxed
it is, though
>unconfined by selinux
nothing stops you from writing selinux corpo rules for it, if you love that so much

And you forgot the biggest attack surface of them all:
The dockerhub.

>but but its SANDBOXED
And you give that """sandboxed""" container access to the other """sandboxed""" container that runs your production sql database and has all the juicy data. But congratulation, at least the dude who stole everything valuable, can't run on root on the parent system.

This failed corpo concept of security is why all the corpos always get hacked. You just want to check a box, but don't think about what makes sense.
>>
>>110401135
Funny you should say that. I'm not using systemd, yet I started using podman three days ago.
>>
>>110402977
>you can run it as user
rootless systemd-nspawn forces private-network so no one can connect your container
>it is, though
no seccomp, no selinux, no bind-mount safety, ...
>nothing stops you from writing selinux corpo rules for it, if you love that so much
belittling selinux when talking about the attack surface is inane
>The dockerhub.
signed and auto-updating images are an advantage. your systemd-nspwan "container file" can easily be tampered with and won't auto-upate.
>And you give that """sandboxed""" container access to the other """sandboxed""" container that runs your production sql database and has all the juicy data
that's outside the threat model of a container runtime.
>This failed corpo concept of security
it's called defense-in-depth and is universally recommended.
>>
>>110403475
>pls dont bully selinux
i told you that you are free to write your selinux rules
>that's outside of the threat model
you joking?
Your first point is about complaining of muh network.
If your """sandbox""" can connect to your sql database, that sandbox is worthless.
>the dockerhub promises super hard that it will check things :D
still an increase in attack surface, and one more external service who could completely fucking wreck you if some malicious actor does anything on it
>>
Really switched to nix for everything. Containers and virtual machines for full isolation only when needed.
>>
>>110403553
Same. It's actually insane to me that people are willing to work with systems where they have no clue what's going on in the background.
>>
maybe because official podman documentation is
>draw the rest of the fucking owl
>>
>>110403640
This is my biggest issue, honestly. I just want something that works.
But every time I use something open source it's filled with nonsensical steps that I have to figure out myself.
Which wouldn't be a problem if I was still unemployed, but I literally no longer have the time for this nonsense.
Thank god for modern AI.
>>
>>110401135
>And podman depends on systemd.
it doesn't thoughbeit
>>
>>110403640
There's a whole free ebook about podman. Otherwise it's knowledge of systemd and docker, frdesu
>>
>>110403723
If you need to read an entire fucking book to understand something, it's not worth understanding.
If I want to start a container, I want to be able to read a single paragraph that contains a description of the method and an example.
Why is it that only open-source software struggles with this?
>>
>>110403640
This. Doing most things in docker is just adding another yaml line. In Podman you have to handle systemd services and shit yourself, which they try to tell you is somehow a seling point. I want Podman to be good because it fixes the running as root thing, but it doesn't seem to be there yet.
>>
>>110403723
>go to official website for docs
>"nooo, you have to find this random ebook that some random guy vibeslopped for shit and giggles and treat it as an official reference "
so this is the power of RedHat Enterprise™ Solutions huh
>>
>>110403736
There's a free gui if you want to be a causal.
>>
>>110397945
>era of supply chain attacks
>only built in update mechanism is "durr auto update to latest and rollback if it crashes"
>>
>>110403752
It's literally available on rhel as the 1st Google result.
Also GUI and docker drop-in compat.
>>
File: 1687901556888366.jpg (38 KB, 394x398)
38 KB JPG
>>110402665
>for me, it's managing a container as a systemd service
that sounds horrifying
>>
>>110398703
>brew
>>
>>110403796
I just checked and it actually requires you to log in to download it
lmaoooooo
https://developers.redhat.com/e-books/podman-action
>>
>>110402665
literally no purpose for that since docker also can be ran as systemd service plus you are usually orchestrating them through a manager of some sort so why bother
>>
>>110403958
I had no idea. I'm always logged in with my work account.
>>
>>110397945
>pooman
KEEEEEEEEEEEEEK
>>
>>110403723
this book is from 2022 and for podman 4.1. this was before quadlets so rather outdated with `podman generate systemd`.
>>
>>110403968
>literally no purpose for that since docker also can be ran as systemd service
not the same.
in podman-quadlets each container is its own native systemd service.
in docker each container would be a systemd service that wraps the docker-daemon. no one does this. you use docker-compose instead and just use systemd to start the docker-daemon which then starts up your docker-composes.
>orchestrating them through a manager of some sort
there's no manager.
podman-quadlets delegates to systemd for orchestration.
docker-compose uses docker-daemon for orchestration.
>>
>>110398045
>>110402554
>>110401013
What the FUCK are you retards talking about? K8s isn't an alternative to Docker or Podman, they're completely separate things that happen to be used in tandem. Docker/Podman are containerization technologies, k8s is a container orchestrator. You can literally create containers with whatever you want and run them as long as it's OCI compliant. K8s itself used Docker as a container runtime dia dockershim for a long time until they deprecated it in favour of other CRI-compliant runtimes a few years ago.
>>
>>110406292
teach me your autism, senpai. i want to git gud at k8s.
>>
File: .png (899 KB, 2048x1443)
899 KB PNG
>>110406292
>K8s itself used Docker as a container runtime dia dockershim for a long time until they deprecated it in favour of other CRI-compliant runtimes a few years ago.
k8's cri-compliant runtime is containerd. containerd is docker's runtime.
https://www.docker.com/blog/containerd-vs-docker/
>>
>>110406994
Yes the container runtime is what the containers in your pod use. You can change it if you want kubernetes is heavily modifiable from controllers to CNIs CRIs CSIs etc.

t. Platform Engineer
>>
>>110407008
>CNIs CRIs CSIs etc
are you getting the theme yet?
k8s evolved from a mere orchestrator to an OS with "device driver" interfaces to write "drivers" against.
>>
>>110407128
and?
>>
>>110397945
Using podman on anything other than fedora (at least, using a version recent enough to be worth using) requires compiling at least 6 different binaries in 3 different languages, and installing two extra build systems for the privilege.

Compare this to docker, where the install process is:
>put dockerd on $PATH
>put docker on $PATH
>put docker.service in systemd
>systemctl start docker

It also doesn't support windows containers, while docker does.

Podman only makes sense if you need rootless, and need to run inside of another container.
>>
>>110407212
>and need to run inside of another container
podman is bad for this: user namespace/rootless UID mapping issues, nested cgroup delegation, or overlayfs storage driver limitations inside unprivileged podman containers.
any job runner will want docker-in-docker, not podman-in-podman. see forgejo's job runner.
https://forgejo.org/docs/latest/admin/actions/
>>
File: .png (753 KB, 1910x1294)
753 KB PNG
>>110405416
wrong, gemini says this
>>
>>110406292
No shit.
>>
File: www.kubesolo.io...png (318 KB, 1179x2556)
318 KB PNG
>>110406292
portainer, the best docker manager, literally created kubesolo, so even poorfags like you with shitty pcs can run k8s and says you should switch to k8s
>>
>>110407212
I use one build system for all of it—Yocto.
>>
>>110408428
that's not a build system but a package format
>>
>>110408494
Fair—technically I use BitBake as my build system, and the Yocto project provides many of the recipes I use.
>>
>>110408500
again, bitbake is not a build system. bitbake is still invoking the actual build systems. (make, autoconf, cargo)
>>
>>110408572
Incorrect—BitBake is a build system.
>>
>>110408592
look at
https://git.yoctoproject.org/meta-virtualization/tree/recipes-containers/netavark/netavark_2.1.0+git.bb
`inherit cargo cargo-update-recipe-crates features_check ptest`
is making bitbake invoke cargo, the actual build system.
>>
>>110408633
By that logic make isn't a build system either if a Makefile exists that invokes Cargo.
>>
>>110408666
yes, make can be abused as a job runner. invoking cargo is abusing make as a job runner.
an actual build system knows how to compile and link code.
>>
>>110408698
Well of course your overly-restrictive and exclusionary definition of "build system" will omit real build systems like pip, BitBake and CMake. No wonder we are arguing—under your definition you are right: but the problem is your definition is incorrect.
>>
>>110408712
wrapping a build system does not make you a build system.
cargo is doing the actual building. claiming that you aren't using cargo anymore is absurd.
>>
>>110408101
>podman
>the "purist" alternative
this actually makes podman look nice and simple
>>
>>110398392
on mac orbstack, docker desktop and apple/container use macos's native vz as the vmm but podman uses non-native libkrun.
reason given was being able to pass-thru the gpu so llms can be run. however only vulkan can be exposed, not metal. making that whole exercise questionable.
>>
File: .png (124 KB, 1462x690)
124 KB PNG
how well is podman keeping up with newer docker compose releases?
>>
>>110406292
Kubernetes is a control plane not an orchestrator.
>>
>>110407212
My clanker with Ansible doesn't have this problem
>>
>>110397945
they're gay and retarded? who the fuck knows?
>>
>>110401013
this isn't true.
Kubernetes is good if you already have a lot of compute and a team willing to make the CRDs / Orchestrators / C*I to make it work well.
Otherwise it's just a bloated mess that wastes CPU cycles and it doesn't magically make the software "distributed" or infinitely scalable like some fucking retards believe.
>>
>>110415627
>it doesn't magically make the software "distributed"
??
k8s does give you high-availability for free
>>
would choose Podman for Linux servers, CI/CD pipelines, and commercial desktop use where security and open-source licensing matter, while sticking with Docker for local development on Windows or macOS when you need maximum ecosystem compatibility
>>
>>110408416
What's the advantage of this when k3s has done exactly this for years?
>>
>>110416012
It doesn't have a retarded name that makes people think you're shilling a crypto coin
>>
>>110416012
k3s needs ~900mb of ram
kubesolo needs ~200mb of ram
>>
>>110399982
the point of containers is to allow programs to run in completely different environments so this "characterization" makes no sense lol. its more like letting everyone wear what's most comfortable for them
>>
>>110398045
K8s are only really useful if you have more than one server. Most people here are very poor.
>>
>>110403640
How the everloving fuck did I figure out podman as a complete noob and get a jellyfin server working on it then? I've only been on linix for a couple of months.
It's not fucking complicated at all?
>>
>>110417334
i'm betting your hwacc doesn't work
>>
File: VMs-only.png (35 KB, 640x379)
35 KB PNG
>>110397945
I use Docker because I wouldn't be caught dead still using containers.
>>
File: gui-datacenter-search.png (176 KB, 1280x1024)
176 KB PNG
>>110417317
Everyone can have a more than one server if they're willing to overcome a little cancer.
>>
>>110417334
for multimedia homelabs linuxserver.io docker images are still preferred due to consistent volume paths for all images. linuxserver.io uses docker-compose.
>>
File: .png (334 KB, 2880x1720)
334 KB PNG
>>110417557
no one uses proxmox anymore when incus exists
>>
>>110408416
>Kubernetes
>Without the Kluster
Why? Just, fucking why? Who would wants k8s services over podman networking, or even Docker's dogshit networking? Who wants to have to remember whether it's pod or a deployment or a replicaset or a daemon host instead of podman ps -a? Why the fuck would you ever want to deal with .yaml configuration, or God forbid Helm.charte, over a docker files?

These are all sadness we must endure to deal with a cluster. Why would anyone hate themselves this much?
>>
>>110417579
My peeps are too scared to leave their Pegaprox hand holding bullshit. They lived under broadcom's thumb for too long.

I need to look at this though. The terraform integration alone looks promising.
>>
File: 1790576327840158.jpg (20 KB, 447x447)
20 KB JPG
>>110417530
>>
>>110417592
Kubernetes and helm have a very high initial "investment" of complexity, you need an OCI registry for your images and charts, you probably need git to version your YAMLs, and if you're going to do all that, you may as well run argo or flux, but after that, the additional complexity to add any new application is just
>add values.yaml
>helm install
Helm in particular makes is so that as soon as one person has done the work to make something run on k8s, it runs on basically any cluster with no modification, and many projects are just doing this themselves now.
The biggest benefit is that you can test like you fly, if you have a dev enviornment, you no longer have to maintain parallel docker compose and helm configurations. If you get it working on dev, its almost certainly going to work on prod. It literally is an operating system for containers and cloud.


Meanwhile, plain docker/podman, even with compose or quadlet, is easy to get started with, but after a few apps, becomes a headache to coordinate, and every new app needs to be manually integrated to the machine that its being added to because there is no standard way of doing anything, and god help you if it needs to interact with something that already exists on the machine, or has some kind of dependency.

tl;dr k8s makes easy things hard, but hard things easier.
>>
>>110417592
Funny that you don't like k8s's complexity compared to podman.
Guess how podman's complexity looks compared to docker compose.
Having your whole application with its containers, volumes, and networks all defined together in one easy-to-read docker-compose.ym file is a way better experience. Deployment is two steps: 1. `git clone foo` 2. `docker compose up -d`. You can see the state of the application containers with `docker compose ps`. You can run multiple compose applications on the same host and manage them separately by putting them in different directories.
With quadlets, you delegate everything to systemd. You have to break the configuration up into a bunch of tiny unit files and then separately copy them to /etc or a dedicated user's dotfiles. An application with a handful of containers and multiple networks/volumes/etc can spiral into a dozen unit files. Good luck SSH'ing into an unfamiliar system and understanding at a glance what it's doing. It is far more annoying to predictably deploy and tightly couples your application configuration to the host system configuration. (Even moreso if you created dedicated users for each application, which I understand is the recommended solution.)
>>
File: microvms.jpg (55 KB, 535x468)
55 KB JPG
>>110417944
>>
>>110417993
>Deployment is two steps: 1. `git clone foo` 2. `docker compose up -d`. You can see the state of the application containers with `docker compose ps`.
I think I'm doing podman wrong, because I still operate like this with podman.
>>
>>110417993
I'd argue that compose and quadlet have entirely different purposes and reasons to exist. Quadlet is for things that you would otherwise have run as a systemd service, like system daemons, but you'd like to run it in a container for the various benefits that provides. Compose is for managing applications like microservices and databases that interact with one another and are changed frequently.

Its a shame that podman's compose compatibility is utter dogshit and the project has no incentive to improve it, since, despite the CNCF donation, its still a redhat product, and if you want to run microservices on redhat you run openshift aka "i can't believe it's not vendor-lock" kubernetes
>>
File: .png (115 KB, 1220x904)
115 KB PNG
>>110418040
>I'm doing podman wrong
correct, you now have to run podman as a daemon for docker compose. this goes against podman's fork/exec architecture.
>>
>>110418053
>I'd argue that compose and quadlet have entirely different purposes and reasons to exist
upstream doesn't agree and provides you with a tool that converts docker-compose.yml to quadlets.
https://github.com/containers/podlet
>>
>>110418108
Someone should tell them none of us have any reason to use it yet.
>>
>>110402047
>use quadlets
I'm not going to use a compose alternative with even worse documentation
quadlet and by extension podman are rife with so many layers of bullshit between the actual application and resources on the host machine you end up a permissions hell like no other
Not to even mention damn near every container out there is built under the assumption you run docker, and despite podman being sold as a drop in replacement for it, it abso-fucking-lutely is not, with countless deviations from it you only find after throwing every solution you find on the internet at it.
>just ask a clanker
clankers can barely help because podman has changed its behavior multiple times over the past 5 years, so even they have not a fucking clue what might be the issue.
>>
>>110418262
>>just ask a clanker
clankers are also bad add generating docker-compose.yamls and will use swarm-only keys.
docker finally had enough and added warnings about swarm-only keys last month.

https://github.com/docker/compose/releases/tag/v5.6.0
>Feat(compose): warn on unsupported compose-file attributes by @glours in #14196
>>
>>110418108
>When converting Compose files, not all options are supported by Podman/Quadlet.
>Podlet is primarily a tool for helping to get started with Podman systemd units, aka Quadlet files. It is not meant to be an end-all solution for creating and maintaining Quadlet files.
Wow, they somehow managed to make something even worse than that god-awful podman-compose python wrapper script.
>>
>>110397945
>Created by Red Hat
Hard pass
>>
>>110411429
Not him, but podman is the superior design, red hat can be faggots sometimes (all the time) but podman is honestly pretty good
Because it's good it is therefore destined to be unpopular
>>
File: rolleyepepe.png (523 KB, 640x628)
523 KB PNG
systemd-nspawn mogs you all
>>
>>110419743
docker could have just accepted red hat's patches

https://crunchtools.com/fedora-sandbox-podman-early-days/
>Most people think the container-tools story starts with Podman, but it actually starts with Skopeo. Back in 2016, Antonio Murdaca wanted a way to inspect container image metadata on a remote registry without having to pull the entire image down to your machine. He opened a pull request upstream with Docker to add a docker inspect --remote capability, and the Docker maintainers rejected it. Their response was basically, “container registries are just web servers, go build your own tool.” So in classic fashion, Antonio just went off and built it himself
>>
File: .png (216 KB, 1472x844)
216 KB PNG
>>110417993
>>110418053
>>110420071
asked gemini 4 hydrogen for idiomatic ways to manage multi-container applications in podman. it's chaining of systemd unit files, podman .pods, or a .target systemd file.
>>
>>110418262
Which settings have you had trouble with?
I've found Quadlets to be very simple. Compose also looks very simple.
What Docker-assumption problems have you had too? For me, projects usually have a Podman alternative (sometimes even a Quadlet), and if they don't, you can just lift the entries in the Docker command into a Quadlet pretty easily.
Maybe we just have different uses but I haven't encountered the problems you're talking about at all.
>>
>>110417579
what does incus actually offer over proxmox aside from being the new thing
>>
>>110421565
let's see from this thread:
nextcloud-aio: >>110400035
docker-in-docker: >>110407269
new docker compose features like jobs: >>110415353
hwacc in jellyfin: >>110417502
>>
>>110421601
foss
stable
declarative
>>
>>110421638
I guess this is just about Docker compatibility and not settings you've had trouble with?
>nextcloud-aio
The post you're commenting on puts the blame at Nextcloud. I would agree. You could hardcode your software to require any container software. It's not really a point for or against anything except the Nextcloud devs.
>docker-in-docker
Possibly a fair comment. It's not something I've had use for myself. At the moment we've got that reply saying it's bad for container-in-container, and the reply he's replying to saying it's good.
>new docker compose features like jobs
First, the image says the feature came out just last month so if Podman wants to be a complete match on Docker they probably will after some time. Second, do you think container software should all be trying to be Docker including in auxillary features, or meet the OCI as best it can? Finally, this seems like feature creep into areas outside of running containers themselves, which Podman leaves in the domain of systemd.
>hwacc in jellyfin
So is it actually broken or what? The post you are replying to just insinuates it might be, and the guy this one anecdote would be based on hasn't even replied whether it is or not.
>>
File: 1784439875756335.jpg (63 KB, 881x907)
63 KB JPG
>>110397945
ive used docker,podman,k3s
if you're only running a handful of machines theyre mostly the same. there are a handful of options i had to remove from my compose files to make them work in podman. i mainly use docker because its the most common in documentation. there are instructions on how to run every program on docker where's with others you often have to tinker with the compose file to get it to work.
>>
>>110399970
>Dockhand
These faggots want you to pay as well.
>>
>>110397945
>why do I use the thing that has always worked great since forever instead of this new thing I have never heard of
I don't know OP, truly it is a mystery.
>>
>>110421764
>1784439875756335.jpg
move away from legacy portainer

>>110421867
yeah, use arcane
>>
>>110398703
Simpsons did it

https://github.com/kubernetes/minikube
>>
>>110422277
minikube idles at 1GB, not 23MB. you are off by almost two magnitudes.
>>
>>110397945
I use podman but why are quadlets such a fucking ugly system? Ah yes, instead of having everything in one place I'll spew it across multiple files.
>>
>>110421755
>nextcloud-aio
>You could hardcode your software to require any container software. It's not really a point for or against anything except the Nextcloud devs.
nextcloud wants to do rolling updates. talking to the docker daemon to achieve this sounds fair.
podman upstream will say it's out-of-scope and you should use k8s. the workaround is to use podman's docker daemon fallback and try to achieve it that way.
>docker-in-docker
it's kind of out-of-scope since all rootless container designs become a hindrance
>>new docker compose features like jobs
you would need to duplicate the whole .container quadlet file, add that one little job and make it a oneoff.
>>hwacc in jellyfin
podman assumes rootless containers. rootless doesn't get access to the gpu by default. you need to explicitly map host device permissions and group memberships into the container.
>>
>>110422799
those multiple quadlet files can all be in the same subfolder since podman v4.7.0 (2023). so everything is in one place, too.
>>
>>110417579
What webui is that
>>
>>110422996
https://github.com/baki2001/Incus-WebUI
>>
>>110423010
>node, vite, js, ts
npm, yarn and company aren't allowed on my machines
>>
>>110398045

podman is a container engine.
k8s is an orchestrator.

they are different things...
>>
File: 1791069778394425.jpg (78 KB, 960x954)
78 KB JPG
i manage multiple 100+ node k8s clusters
it's cool when it works and not cool when it doesn't work. i probably enjoyed it more pre-AI. half of the issues are solved by increasing memory limits.
i fucking hate operators and every software that uses them. also fuck bitnami and fuck helm.
>>
File: .png (484 KB, 1522x1304)
484 KB PNG
>>110423588
that sounds like k8s could use podman. this is not so. k8s wants a daemon. podman is daemonless. so k8s can only use docker's containerd (and cri-o).
>>
>>110423625
you can use k8s without operators and helm

https://paulbutler.org/2024/the-haters-guide-to-kubernetes/
>Things we actively avoid
>Non-built-in resources and operators. I’ve written before about how the control loop pattern is a double-edged sword: it’s the core idea that makes K8s robust, but it’s also a source of indirection and complexity. The operator pattern and custom resources allow third-party software to use Kubernetes’ robust infrastructure for its own control loops, which is a great idea in theory that I’ve found to be clunky in practice. Rather than cert-manager, we use Caddy’s certificate automation.
>Hand-writing YAML. YAML has enough foot-guns that I avoid it as much as possible. Instead, our Kubernetes resource definitions are created from TypeScript with Pulumi.
>Helm. Helm is a no-go because of the operators and no YAML rules, but I also just think that using unstructured string templating to generate something machine-parsable means introducing fragility for no gain. nindent is like nails-on-a-chalkboard to me, I’m sorry.
>>
>>110423722
no shit you can do everything manually, but most of deployments is installing already existing software and most of it is done by either helm charts or operators, and each one of them is slightly different.
i checked your link:
>no ephemeral storage
>no ingresses
>filtered by YAML
all talking points of some retarded nigger and then he shills his own solution instead, wasted 1min of my time.
>>
>>110423824
why not just ecs if you hate k8s so much?
>>
>>110423987
never said i hate it, some stuff annoy me but they're more related to deployment and how there's no standard to deploy stuff on it (unless you count openshift which is another can of worms).
>why not use x
because we have k8s clusters at work so i work with k8s clusters, that's called having a job.
>>
>>110422056
what's wrong with portainer?
>>110423689
didnt they retire docker swarm?
i never understood why if anyone could compete with kubernetes its docker
>>
>>110398148
>the most common way to manage a docker compose setup
is compose.yaml
>>
>>110424108
>because we have k8s clusters at work so i work with k8s clusters, that's called having a job.
wait, you don't even have eks and manage your own cluster?
which k8s distro then? openshift? rke2?
>>
>>110425233
openstack, but i don't deal with hardware, that's infra team (thank god)
>>
File: 1788904337959076.png (11 KB, 640x312)
11 KB PNG
>>110397945
Why not use smolvm or microsandbox instead?
>>
>>110425266
openstack isn't a k8s distro but iaas. k8s only runs on that openstack infra.
openstack for only 100+ nodes seems overkill. which openstack distro are you running?
>>
>>110425429
banned in korea
>>
>>110425433
don't know what you mean by distro, it's vanilla kubernetes on openstack mangum, nodes work on rocky (rhel) images if that's what you mean
>>
>>110425429
those are vms, not containers.
vms are too expensive if you don't need the strict isolation.
>>
>>110425483
they are not fully fledged vms, they are microvms
also containers don't give you any real isolation at all, they are pure theatre
>>
>>110425435
underrated
>>
>>110425491
a microvm is still a magnitude more expensive than any container.
see kata and gvisor microvms in k8s from >>110423689. no one runs those instead of just runc if they don't have to.
>>
I am 5 years into my job and I still don't have the slightest clue what kubernetes or docker is
>>
>>110425429
sandboxes for ai agents are a completely different product.
but yeah you should still use docker sandboxes (sbx) here. sbx are the industry standard [1] and let you easily run docker images inside their microvm.
https://www.docker.com/products/docker-sandboxes/

docker sandboxes also dropped red hat's libkrun hypervisor (actually vmm) that smolvm and microsandbox still use due to bugs. docker now has their own:
https://www.docker.com/blog/docker-vmm-public-beta/

[1] most yolo but if you use any sandbox it's sbx: https://code.claude.com/docs/en/sandbox-environments#virtual-machine
>>
>>110425652
docker sandboxes are not open source unlike docker containers
>>
>>110397945
>why do people still use docker?
I use podman on my destkop and docker on my server. Ubuntu 26.04 came out this year, so I will have my docker containers till 2031 or 2036 with fucking free Ubuntu Pro for consoomers.
>>
>>110425664
claude code isn't open-source either
>>
>>110425673
but pi harness and deepseek/kimi/glm are
>>
>>110398469
>Why /g/ always love the tools that nobody uses and hate the ones that everyone uses?
That's open source for you. Nerds (RHEL, SLES, Canonical employees) develop FOSS software, fortune 500 companies see this, they get rid of their proprietary solution, lay off some people and switch from the expensive license and subscription fee to the FOSS product. Just to realize, it's free but you need Enterprise support from RHEL, SLES or Canonical to maintain that shit. Linux and FOSS was always free for Enthusiasts, the money is all about Enterprise support and Donations.
>>
>>110397945
I never really got the point of docker. It feels like something that should be handled on the OS level through chroot jails and process isolation. Why virtualize an entire OS for this?
>>
>>110425750
to decouple the system from the application, stability + same environment across the world without issues and dependency conflicts.
>>
File: .png (713 KB, 2550x1650)
713 KB PNG
>>110425750
>It feels like something that should be handled on the OS level through chroot jails and process isolation. Why virtualize an entire OS for this?
you literally do the former with linux namespaces (better chroot) and don't virtualize anything at all
>>
>>110402698
you used to be able to generate quadlets from compose files but i think they deprecated it for some reason. but yes, running containers as systemd services IS nice.
>>
>>110425805
>stability + same environment across the world without issues and dependency conflicts
You can do that with Nix
>>
>>110403787
and there's people who boot into random OS container images out there!
>>
>>110418262
https://github.com/containers/podlet
use this to convert compose files to quadlets, it works most of the time

but yes, quadlets add yet more abstracted bullshit on top but rootless podman is nice
>>
>>110425864
>You can do that with Nix
Sorry we only use Red Hat and Ubuntu
>>
File: docker-rkt.png (34 KB, 644x366)
34 KB PNG
>>110425873
>rootless podman is nice
i'm not seeing the security benefits. containers are just too porous for ai agents even when not run as root. killing rkt for podman was wasteful.
>>
>>110425864
wrong, nix only offers package isolation, there's no runtime process isolation like for containers
>>
>>110425922
never knew about rkt, interesting

can you explain why theyre too porous for ai? i would think theyre isolated enough for 99% of bullshit people use them for
>>
>>110426093
containers share the host's linux kernel. ai agents do this:
https://openai.com/index/a-thousand-fewer-paths-to-root/
>In one run with our cyber model, it validated and generated patches for 948 local privilege escalation vulnerabilities in Linux at an API cost of $1.2 million.
>>
>>110426132
>https://openai.com/index/a-thousand-fewer-paths-to-root/
ah sure ok but thats what i was saying, whats the chance of an ai getting priv escalation while shitting out the next clone of xyz and not actively prompting to exploit
but maybe im using poorfag models who wont really try that hard
>>
>>110426174
>whats the chance of an ai getting priv escalation
close to 100%. like openai said:

https://openai.com/index/a-thousand-fewer-paths-to-root/
>Within 10 days while the scan was running, we observed over 100 Linux LPEs had been patched or had staging patches from other contributors, with ~300 more being publicly discussed.
so just point any stupid ai agent at the linux kernel mailing list and you get free lpes that wont have reached any stable kernel yet.
>>
>>110425435
kek
>>
>>110398045
>"Fuck yeah, I want more overengineering over my overengineered piece of shit software!"

No thanks, bro.
>>
>>110427914
https://www.macchaffee.com/blog/2024/you-have-built-a-kubernetes/
>I am afraid to inform you that you have built a Kubernetes. I know you wanted to "choose boring tech" to just run some containers. You said that "Kubernetes is overkill" and "it's just way too complex for a simple task" and yet, six months later, you have a pile of shell scripts that do not work—breaking every time there's a slight shift in the winds of production.
>Surely, switching to Docker Compose will be the end of your woes; at least that way, someone else maintains a standard config file format for you to use. But wait, Compose is still not a holistic solution. "Do I really need a separate solution for deployment, rolling updates, rollbacks, and scaling?" you ask yourself? Surely not. Your app is so simple; a backend, a reverse proxy, postgres, and a job runner. So you march on, and add another few sections to your deploy.sh script, certain, that this will be the last of what you need to do to maintain this pile of hacks.
>Ah, but wait! Inevitably, you find a reason to expand to a second server. While it's true a single server can go a long way many things can force this decision, such as the need for special hardware, high availability, or the speed of light. Tired, you parameterize your deploy script and configure firewall rules, distracted from the crucial features you should be working on and shipping. One of your team members suggests connecting the servers with Tailscale: an overlay network with service discovery. After that you will know, yes know, that there is no tougher complexity hurdle to clear than the networking.
>...



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.