Is it time to switch? // Docker vs Podman Desktop

Is it time to switch? // Docker vs Podman Desktop

Christian Lempa

6 месяцев назад

224,333 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mykyar9142
@mykyar9142 - 29.01.2024 19:19

I swithced to podman due to docker licensee. As i understand i can use it for now for free

Ответить
@PrimalNaCl
@PrimalNaCl - 29.01.2024 10:18

Pardon my ignorance, but what is the terminal app, shell, or config doing the isolated input and output 'frames'? And the gravy that is the IDE-like browsing of the command history.

Ответить
@eduardmart1237
@eduardmart1237 - 29.01.2024 09:18

Are all images 100% compatible between docker and podman?

Ответить
@bluecement
@bluecement - 26.01.2024 19:25

Migrating from Docker to Podman is a headache! Especially if you use docker compose!

Ответить
@alexischicoine2072
@alexischicoine2072 - 25.01.2024 18:43

Anyone else notice their mascot is very similar to dugtrio?

Ответить
@phanta5m
@phanta5m - 25.01.2024 11:54

many dev tools still prefer docker and just not work in podman, so i save the headache since to just using docker

Ответить
@sagamp3
@sagamp3 - 25.01.2024 00:46

you can use docker-compose with podman-service by defining DOCKER_HOST env variable

systemctl --user start podman.socket
export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock

Ответить
@TheForge47
@TheForge47 - 24.01.2024 21:22

No, it's time to switch to k8s 😜

Ответить
@namesurname9201
@namesurname9201 - 24.01.2024 14:54

Hi Christian! You have a very useful video explaining Wireguard configuring. What about the same video with Shadowsocks-libev tutorial? It will be great! Thanks for your job!

Ответить
@danieldewindt3919
@danieldewindt3919 - 24.01.2024 12:45

Nice video! Realy made me doubt now. Maby i'll run it beside docker te test fisrst,
Docker is stil a bit difficult

Especially bindmount propagation. Can you do a indept video about that?

What the heck is docker skout. sounds like a nice addition!

Again thanks for sharing :)

Ответить
@leonlee9518
@leonlee9518 - 24.01.2024 09:54

warp ? a good termianl ~

Ответить
@zixitix3374
@zixitix3374 - 24.01.2024 09:28

Man, there is so much water in this video:(

Ответить
@epicmap
@epicmap - 24.01.2024 06:24

Docker desktop is a joke on Linux, because it similarly running qemu that eats up tons of RAM.

Ответить
@crckdns
@crckdns - 24.01.2024 00:18

Clicked on that video because expected alternative for docker compose workflow..
Got something about desktop and graphical interface(wtf?!) and info that compose isn't really a thing!
So this thing is not an alternative at all.

Ответить
@StevenDoesReactions
@StevenDoesReactions - 23.01.2024 22:32

I have been in IT for over 25 years and have no idea what docker or podman is. I have no idea what a container is, nor if i will ever have a use for them. From what i gather, they are VMs but instead of a full OS, its just a single app? I dont get it. Also everytime i try to deploy anyting fun, like a pihole or TruNas, i get bored and wonder why people spend thousands of dollars playing with networking as a hobby.

Ответить
@YannMetalhead
@YannMetalhead - 23.01.2024 18:37

Good video.

Ответить
@kamiomnik2388
@kamiomnik2388 - 23.01.2024 18:06

Great video, now I would like to try Podman XD

Ответить
@ngoctientran3592
@ngoctientran3592 - 23.01.2024 17:35

I still need Docker 😢. I tried podman then use some image of bitnami, then I have to change ownership but podman cannot resolve as Docker, I always get permission denied :”(

Ответить
@IAmPattycakes
@IAmPattycakes - 23.01.2024 17:35

I hope my IT team doesn't see this video. I have to thoroughly abuse docker's security concerns to keep out systems running.

Ответить
@LondonGlen
@LondonGlen - 23.01.2024 15:24

If you want to use a port lower that 1024 without running as root, then you can redirect traffic from a one port to another via a firewall rule.
Here is the example for iptables.
```sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 21 -j REDIRECT --to-port 2121```

Ответить
@andreas7944
@andreas7944 - 23.01.2024 13:51

I need compose files and IDE Integrations. Therefore, docker is still my preferred solution.

Ответить
@Evangelionyang
@Evangelionyang - 23.01.2024 10:02

Hi there, this is a very good video for me. Help me to understand a lot about docker and podman. But I am very curious about the screensaver on your Mac. Could you tell us how to get one of that?

Ответить
@dimtass
@dimtass - 23.01.2024 01:10

Learn docker to use podman in production

Ответить
@soubinan
@soubinan - 23.01.2024 01:09

the best thing for me about podman is that I am able to manage my containers/pods using systemd thanks to quadlet
It adds a very nice integration to linux and keeps everything under the same logic

Ответить
@kenmurphy4259
@kenmurphy4259 - 23.01.2024 00:41

Video on Docker Scout please

Ответить
@sakthiratnam2193
@sakthiratnam2193 - 22.01.2024 05:04

Interested to see how docker works internally

Ответить
@MarcelPeters-wx5he
@MarcelPeters-wx5he - 21.01.2024 21:35

But you can use kubernets yamls instead for docker compose files and podman does not run as root by default!

Ответить
@RohithRPai
@RohithRPai - 21.01.2024 20:32

I personally use Rancher desktop which also supports Kubernetes.

Ответить
@Matfi93
@Matfi93 - 21.01.2024 18:42

Podman is a Dugtrio and Docker is a Diglet :)

Ответить
@TheAlex09
@TheAlex09 - 21.01.2024 16:19

Interesting argument!
Little curiosity: were we can get that awesome Matrix animated wallpaper?

Ответить
@szymex22
@szymex22 - 21.01.2024 15:07

I did the reverse, I was using podman for a year or so but really never got into the advanced features due to having to fight with SELinux and stuff like that to get various software running and it was rootful anyway.

I know docker is a little bit less secure, though is there really a difference when comparing both used in root mode?
At the end of the day, a docker installation is just easier to maintain when there is a much bigger community around it

Ответить
@plainuser48596
@plainuser48596 - 21.01.2024 13:49

I don't see value in this video. You spend so much time showibghe UI and commands that are exactly the same as docker but barely said why we should ever care bout this thing

Ответить
@ItsMeooooooo
@ItsMeooooooo - 21.01.2024 08:47

simple Answer: Podman and Buildah are OSS. So you should use Podman...

Ответить
@user-fb2cb6xp7c
@user-fb2cb6xp7c - 21.01.2024 05:22

well why not, use them both

Ответить
@kseniak9085
@kseniak9085 - 21.01.2024 04:14

Hearing "poTman" over and over again, it's just too funny. It is "poDman", with a D

Ответить
@Mojo_DK
@Mojo_DK - 20.01.2024 21:15

Can I just easily use the Nextcloud docker image with Podman?

Ответить
@VaibhavShewale
@VaibhavShewale - 20.01.2024 20:38

so i should start learning podman as well?

Ответить
@TheSwissGabber
@TheSwissGabber - 20.01.2024 18:23

Using containers in a desktop app seems weird to me. It kills the beauty of docker: One line / a docker-compose.yaml and it works. Downloading an extra app and klicking around..

Ответить
@stefangranath3841
@stefangranath3841 - 20.01.2024 18:14

With docker desktop I need to be logged in to run my containers in Windows. With podman will it run more like service so I can reboot and expect pods to run straight away?

Ответить
@hanes2
@hanes2 - 20.01.2024 14:44

It’s a great fit with example at work we use Ngnix Proxy Manger with podman on Rocky Linux.

Ответить
@hanes2
@hanes2 - 20.01.2024 14:41

Been using pod man in prod since 2020.

Ответить
@MichelAlbert
@MichelAlbert - 20.01.2024 11:22

Isn't the licencing also different? Especially when working in a professional setting? If so, that is a very important omission from this video. Secondly, you use a web-application with a DB as an example for a pod. This is extremely bad practice as you must always consider the control plane to move pods around and/or auto-scaling. With scaling alone, you will have a copy of the DB in each replica which is certainly not what you want. I would strongly suggest to add a note about this lest you give people dangerous ideas that they will only realise when it's too late.

Ответить
@darknetworld
@darknetworld - 20.01.2024 09:20

It all come down to user choose or they can try two way while working on their projects. It nice to expand some skills.

Ответить
@taylom1980
@taylom1980 - 20.01.2024 08:03

I’ve started to play around with Podman just to see what it’s like. I recently discovered that you can generate a Kubernetes v1 yaml file from an existing Podman pod or container. This is good because I can run my existing docker compose files on Podman to create the containers. I then use “podman kube generate” to build a Kubernetes yaml file from my existing container setup. Maybe my method is not very practical but to me it’s still pretty cool. 🙂

Ответить
@9SMTM6
@9SMTM6 - 19.01.2024 21:51

Podman being daemonless can make some things more annoying.

You will have to create either cronjobs or systemd-timers to automatically start containers at boot, which Docker will do.

Also the Docker daemon is shared between users (which is probably why it's such a pain to do Docker rootless, though Docker can also do rootless containers AFAIK), Podman doesn't have such a synchronization.

This means, that every user will have to download or build their images anew, so if you switch between root (sudo) and your user, you may have to rebuild images more often than you thought.

And of course there's the gotchas you mentioned with ports etc, which can also make it painful to follow guides. I've also seen some subtle differences in how Podman build and Docker build interpret Docker images (such as the copy command, I beliefe the difference was how they treat directories with or without a following slash). Usually not to hard to work around, but difficult to spot, and can make it annoying if you want to distribute a containerfile to others that may have another engine, and are not super familiar with containers.

Ответить
@thexepe
@thexepe - 19.01.2024 18:07

I didn't finish the video and I have already uninstalled docker! Let's see how this goes

Ответить
@pehden
@pehden - 19.01.2024 14:35

you may like cockpit also

Ответить
@user-hn1cy5ee5l
@user-hn1cy5ee5l - 19.01.2024 11:57

Guys, I will save you some time. Why Podman is better than docker and why you should switch:
1. Podman is Rootless (it is harder to break the system)
2. Podman has pods like in k8s so yoou can run pods in 1 container (the same shit as docker compose actually)

So in my understanding Podman is the same, and if you use docker for local dev then you have no reason to switch

Ответить
@dee-kryvenko
@dee-kryvenko - 19.01.2024 02:06

Podman is backed by Red Hat, and it also is known to step away from Kubernetes standards. Rancher Desktop is light years ahead, they support containerd instead of docker to be in line with Kubernetes baseline, it based on k3s/k3d, and somehow I trust SUSE more. And yes, it can also be a drop in replacement, and not just by way of mimicking Docker but actually using Docker CE with k3d instead of containerd/k3s for these who just develop apps and don’t care about 1:1 matching environment to real Kubernetes. And it comes with Compose and other plugins, yes.

Ответить