← Home ← Back to /g/

Thread 107052615

58 posts 10 images /g/
Anonymous No.107052615 [Report] >>107052622 >>107052630 >>107053191 >>107053213 >>107053262 >>107053633 >>107053839 >>107054732 >>107055514 >>107055715 >>107056244 >>107057026 >>107057423 >>107059750 >>107061637 >>107062142
Is podman mature enough to overtake docker?
Anonymous No.107052622 [Report]
>>107052615 (OP)
saar
Anonymous No.107052630 [Report]
>>107052615 (OP)
Yes
Anonymous No.107052639 [Report]
yes
Anonymous No.107052665 [Report] >>107060212
No.

If you want to run a docker container of a project that tells you to run it as docker container... run it with docker.
There is no reason to take any gamble here.
If you yourself create something new, sure, use podman. But if you take something that already exists, use what it got made for.

The whole container-stuff is made for ease of deployment. It's all about being quick and easy. So keep it that way.
Anonymous No.107053191 [Report]
>>107052615 (OP)
differences being?
Anonymous No.107053213 [Report] >>107055588 >>107056290
>>107052615 (OP)
https://github.com/containers/podman/blob/main/rootless.md
Anonymous No.107053262 [Report]
>>107052615 (OP)
I've used podman before and it was fine, but the containers I ran with it were all very simple so I had no issues.
Anonymous No.107053506 [Report] >>107059264 >>107059315 >>107061810
podman has:
- quadlets (cool way to start containers with systemd)
- play kube (some sort of bridge between podman and k8s
- rootless ootb
- it does not need systemd dockerd process running at root priviledges in the background 24/7

docker is not entirely open source btw
Anonymous No.107053538 [Report] >>107059825
It has already replaced Docker in all Kubernetes deployment. No one uses uses docker as a container runtime for that.
People say that Podman Compose is not as good as Docker's but I have never tested it myself.
Anonymous No.107053594 [Report]
I have asked at work why we not switch from docker to podman, they laughed
Anonymous No.107053633 [Report]
>>107052615 (OP)
>Is podman mature enough to overtake docker?
Yes. Obviously.

Will it overtake docker? No. Docker has become synonymous with "container." Most people don't realise that Docker are just building and maintaining containers. I've heard people say "oh, I use podman to run my dockers"
Anonymous No.107053839 [Report] >>107059825
>>107052615 (OP)
Sure but everyone already uses Docker and Docker is good enough so I don't see many people switching to Podman even though it's a bit better.
Anonymous No.107053989 [Report]
if the FBI is not using Podman I won't too
https://github.com/fbicyber
Anonymous No.107054035 [Report]
Podman is already superior in every way. Only a retard is still using docker.
Anonymous No.107054212 [Report] >>107056748
luke smith said docker and podman are retarded though
Anonymous No.107054246 [Report]
Podman can tongue my anus.
Anonymous No.107054568 [Report]
https://youtu.be/tMJhdJegYg4
Anonymous No.107054679 [Report] >>107055400
Why are there so many tools, who actually needs this.
Anonymous No.107054732 [Report] >>107055434
>>107052615 (OP)
Is there a podman swarm? Like docker swarm?
Anonymous No.107055213 [Report] >>107055361
docker is shit because it needs root
but both are shit because they dont work on BSD
Anonymous No.107055361 [Report]
>>107055213
Podman is supported on FreeBSD since last year.
Anonymous No.107055400 [Report] >>107055715 >>107056994
>>107054679
Docker licensing is not very good for enterprises, so companies, especially Red Hat built tools around the specification to fill not only what Docker does but also the gaps to enable Kubernetes and other stuff.
Docker is the Ubuntu of containers, not the first and far from the best, but it is too popular and associated with the technology to not have a massive market share.
Anonymous No.107055434 [Report]
>>107054732
Yes, it's called Kubernetes.
Jokes aside, you can use nomad for it.
Anonymous No.107055514 [Report] >>107055559
>>107052615 (OP)
I don't see why it wouldn't be from my own use of it. It's more useful, you can do much more rigorous uptime testing for VPN etc. it's very difficult to make Docker wait for VPN to be up before starting. The hacky solutions don't even work... With Podman because it's Quadlets and systemd etc you can call a bash script from the initialization of a particular service and it actually has access then to all the real system variables and shell.
Anonymous No.107055559 [Report] >>107055619
>>107055514
First time I've heard an argument for podman besides 'I hate Docker just use cgroups noob' sentiments. Any time I've had Docker and networking dependencies I do wait-for-container and a validation container or status containers. Not emotionally tied to any tech here that's just what I've been using.
Anonymous No.107055588 [Report] >>107055750 >>107060312
>>107053213
You can run Podman with root, can't you?
Anonymous No.107055619 [Report]
>>107055559
Are you able to share how this works? I wasn't ever able to get it to reliably work. Containers would always just end up starting before the VPN was ready, no matter what wait for directives I used. Maybe Gluetun just doesn't do what's needed for the tests to work as they should.
Anonymous No.107055715 [Report] >>107056994
>>107052615 (OP)
Tbh it's hard to compare docker & podman.

At this point, podman is way better, and has more features, but docker has the image repository and is popular with npc code monkeys.


I share opinion of
>>107055400
Anonymous No.107055750 [Report] >>107055759
>>107055588
Yes but why would you want that?
Anonymous No.107055759 [Report] >>107056172
>>107055750
Why wouldn't you want that?
Anonymous No.107056172 [Report] >>107056234 >>107056290
>>107055759
Because that is an exploit vector.
I bet you full disable SELINUX
Anonymous No.107056234 [Report]
>>107056172
Nobody is trying to access your hentai collection. It's not really worth doing if there's a slight inconvenience or issue somewhere IMO.
Anonymous No.107056244 [Report] >>107060228
>>107052615 (OP)
I still have a ten line shell script that generates chroots from templates. I don't know why this needs some kind of framework or fancy software.
Anonymous No.107056290 [Report]
>>107056172
The original point of our replies is >>107053213
My intention was pointing out that those Podman drawbacks are eliminated by running it with the same privileges as Docker does.
Anonymous No.107056748 [Report] >>107056793
>>107054212
containerization on the desktop is retarded though
Anonymous No.107056793 [Report] >>107056972
>>107056748
>containerization on the desktop is retarded though
Reason? Jeet, I don't want all kinds of python versions on my mainsystem, what about older software for SLES/RHEL/Debian/Ubuntu??? Pro drivers in a docker container??? Preventing clutter... Dev env??? AI shit???
Anonymous No.107056972 [Report]
>>107056793
You're arguing against arguments made by "people" who don't actually get work done on Linux, they just mess around with it like a box of toys and rice anime desktops.
Anonymous No.107056994 [Report] >>107059264 >>107059315
>>107055715
>podman is way better, and has more features
And what would those be?
You're asking for trouble if you rely on anything Docker doesn't support.
>>107055400
>Docker licensing is not very good for enterprises
Literally Apache licensed. Free and open source.
Anonymous No.107057026 [Report] >>107057057 >>107057866
>>107052615 (OP)
tried switching some time ago
it was too much pain in the ass to make some of my compose files work properly
stayed with docker, fuck quadlets
Anonymous No.107057057 [Report]
>>107057026
Not embracing compose is the most retarded shit.
You can use the docker cli and connect to a podman socket, so you can run the official docker compose, but like what's the point, why not just install docker at that point.
Anonymous No.107057089 [Report] >>107059264
hasnt it already? isnt docker literally just podman underneath?
Anonymous No.107057423 [Report]
>>107052615 (OP)
on paper i'd prefer it but the last time i looked at it you had to manually create systemd services and shit that docker would just do for you
docker has a lot of issues but it just werks
Anonymous No.107057866 [Report] >>107060228
>>107057026
Why don't you like Quadlets? They're really good and make it easy to keep backups of your entire stack, edit them, etc.
Anonymous No.107057877 [Report]
default on steamdeck so i guess so
Anonymous No.107059264 [Report] >>107059315 >>107061002
>>107056994
And what would those be?
>>107053506 sums it up. That said, kube play is hilariously unfinished, so it doesn't count.
>>107057089
You are thinking of containerd
Anonymous No.107059315 [Report] >>107061810
>>107056994
Bootc and >>107059264
>>107053506
, for example.


What kind of trouble?
Docker isn't prod tool, it's a homelab and monkey thing. People use it in pipelines but as others told you the licensing and pricing are bad.
Anonymous No.107059750 [Report]
>>107052615 (OP)
on nixos it just works
Anonymous No.107059825 [Report] >>107061637
>>107053538
>Podman Compose
It basically exists for legacy and integration
There's no reason to ever use it for a greenfields project
>>107053839
>Docker is good enough
Enjoy your firewall having its ass blown out with zero notification of that and random test services being completely exposed to the Internet on your root by default "container"
Docker gets glowies hard
Anonymous No.107060212 [Report]
>>107052665
>There is no reason to take any gamble here.
What gamble?
>runs podman iti didn't work
dang
>run docker it works
rolling those dice
Anonymous No.107060228 [Report]
>>107056244
post the script
>>107057866
how do you do backups of the entire stack in podman? In docker compose, I just bind local paths for config and data mounts and then backup the whole folder with the compose config, ezpz.
Anonymous No.107060312 [Report] >>107060340
>>107055588
Yes but not by default and with more effort.
It's the complete opposite for docket
Anonymous No.107060340 [Report]
>>107060312
>by default
You can just login as root or use sudo.
Anonymous No.107061002 [Report]
>>107059264
yeah youre right
although podman and docker have api parity
Anonymous No.107061637 [Report] >>107061886
>>107052615 (OP)
I switched to it on Fedora because docker refused to work. I just had to alias `podman` to `sudo podman` because by default it runs everything "rootless", meaning it downloads image data into your local home folder, and if you ever try to run an image with sudo it'll have to re-download the image. Not nice. Also, podman-compose is much worse than docker compose, it doesn't even seem to do variable interpolation right in some of my projects.

>>107059825
What else than compose should I use for running a bunch of containerized services locally to develop stuff?
Anonymous No.107061810 [Report]
>>107053506
>cool way to start containers with systemd
So compose but less intuitive?
>some sort of bridge between podman and k8s
Could be useful, I don't know much about it.
>rootless ootb
This is actually good. I wish docker containers were rootless by default. I have to manually hack them to make them rootless because I don't want processes to run as root on my own machine, and it's not allowed in our k8s cluster either.
>does not need systemd dockerd process running at root priviledges in the background 24/7
This is also good, but I won't trade it for a lack of compose compatibility.
>>107059315
>docker is not entirely open source btw
>the licensing and pricing are bad.
So which parts of Docker aren't open source? Don't say docker desktop because my head can't take any more smashing b a k a
Anonymous No.107061886 [Report]
>>107061637
>a bunch of containerized services
Quadlets. You put a .container file in /etc/containers/systemd/ and it will automatically generate a systemd service from it when systemd is reloaded, then you can just treat it like any other service.
https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html
Anonymous No.107062142 [Report]
>>107052615 (OP)
Yes... But I hate containers.