Readit News logoReadit News
istoica · 4 years ago
This release features

- First binary for Windows, all due to amazing work of podman team

- https://github.com/containers/podman/releases/tag/v4.0.3

- First test flatpak image

- Binaries for ARM

- On Linux, easily switching between native podman and podman machine based setups

- Easily identify where settings are stored

- Debug panel and log level control to know everything that is happening

- Optimization of settings screen

- Toggle for automatically starting the podman service

emptysongglass · 4 years ago
Question: why was the official Podman desktop app [1] elevated over this app? The Companion app which this post links to appears more fully featured.

[1] https://github.com/containers/podman-desktop

johnny22 · 4 years ago
I didn't even know there was an official one, so thanks :)
oneplane · 4 years ago
Seems like a pretty nice Docker-desktop-ish GUI to me.

One remark:

> Application looks the same everywhere, no mental mapping!

That depends on your perspective. If you are on one OS and this non-natve-looking app comes along, you have to mentally map it for your OS so it's none-nativeness requires mapping to the OS-nativeness.

If you, on the other hand, only work "in" this application and just take it with you regardless of the OS, then you would indeed not need to mentally map the application itself. But I doubt this application is used that way in isolation.

Aeolun · 4 years ago
Mapping different behavior between operating systems is much harder than mapping between native and non-native apps.
vsl · 4 years ago
That’s … debatable.

More importantly, however, working on : OSes frequently is rare. The developer of the app does it. I, as the user, dominantly use a single OS and want apps to be standard for that OS…

metadat · 4 years ago
Is the Podman CLI both command-compatible and flag-compatible with the Docker CLI?

If it is, or if there were a command translation layer to transform docker cli stanzas to the podman equivalent, I'd love to dump and forget about docker forever.

Please keep pushing Team Podman! Self-respecting nerds everywhere are rooting for (and counting on) you!

buzzert · 4 years ago
It is! At least 99%, in my experience. The one big difference is that Podman is "daemonless", which is actually a huge advantage in a lot of cases. The one downside is that it won't automatically restart your containers if your host machine reboots.
born2discover · 4 years ago
For that Podman provides a nifty little trick: `podman generate systemd`[0] which allows you to generate systemd unit files for your pods and/or containers.

Once generated and enabled, your pods/containers act as systemd services that can be started, stopped etc.

[0]: https://docs.podman.io/en/latest/markdown/podman-generate-sy...

forty · 4 years ago
I want to mention the "-userns=keep-id" option of podman, which is a reason enough to use podman rather than docker on a Linux laptop.
Klasiaster · 4 years ago
The "podman.service" systemd unit takes care of restarting containers that were marked so.
hitpointdrew · 4 years ago
The biggest drawback for me is that podman cannot build containers.
Spivak · 4 years ago
Even better. It”s API compatible with the docker daemon.

You can run podman-system-service and get a socket/port that you can point the official Docker CLI or any Docker library at and it will just work (tm).

spockz · 4 years ago
I’ve run into many issues with tools when moving from docker to podman, mostly because they tried to be smart.

Some tools try to detect whether podman exists on the system or not and change their behaviour accordingly. I couldn’t get docker-compose to work properly either even though I had a socket exposed.

I would much prefer if the podman binary/cli also supported the compose command.

Then there are slight differences such as the registry that is used by default when resolving. Docker defaults to docker.io where podman asks. The same when an image is available in multiple registries.

iFire · 4 years ago
Also in the same space is https://rancherdesktop.io/.
traceroute66 · 4 years ago
> Also in the same space is https://rancherdesktop.io/.

Am not familiar with Rancher Desktop, but briefly looking at their website it has a Docker CLI dependency which surely would land it in the Docker licensing controversy space, no ?

raesene9 · 4 years ago
Docker CLI and Docker engine are open source :) Docker Desktop for Windows/Mac are not. So as long as the dependency is on the open source components, AFAIK they'd be fine.
k8sToGo · 4 years ago
What controversy? It is a replacement for docker Desktop which turned from free to payware for commercial use.

Docker cli is still fair game.

zamalek · 4 years ago
It's containerd and nerdctl by default. You can configure it to use dockerd and docker.

Deleted Comment

kelvie · 4 years ago
Anyone know if podman has an equivalent to `docker buildx` yet? Right now I use docker a lot to build arm images to deploy on e.g. Raspberry Pis.
zamalek · 4 years ago
You have to explicitly invoke buildah bud with --arch and --manifest. You can then push the manifest with podman. There is slightly less magic, which is a HUGE advantage if you operate outside of the hairline Docker happy path.
SOLAR_FIELDS · 4 years ago
I know this isn’t applicable to every use case but I recently went down the rabbit hole of cross compiling for the Pi using buildx and in my case I was able to use their 64 bit OS which was released to the general public back in Feb of this year. That one takes arm64 images no problem. Obviously no Pi’s before 2016 can use this but it solves a lot of difficulties if you aren’t absolutely requiring a cross compile and an arm64 image is available.
arjvik · 4 years ago
I keep hearing that buildx is a next-gen build tool, but I can't find what exactly it does. What features does it add over the classic `docker build` command?
up_o · 4 years ago
I am also unsure how buildx works, however I do know that the official docker build-and-push action is not compatible with podman (despite the podman-docker pkg), solely because it uses buildx. As well, compared to buildah builds, building with buildx is much faster--at least with default flags for buildah-build-and-push vs docker-build-and-push. I can say that buildx has an additional cache that must be cleared overtime, which might be related to the build speed difference.
goodoldneon · 4 years ago
I use it to build x86 images on my M1 MacBook
Klasiaster · 4 years ago
There is "podman buildx build …" which sounds like what you are searching for?
candiddevmike · 4 years ago
Somewhat related, do all registries support pushing multi arch builds? DockerHub works, but I can't get it to work with GitHub registries.
vladvasiliu · 4 years ago
I've managed to push amd64/arm64 images to GitHub a while ago, but I was still using Docker proper at the time, so the registry itself should support this.
machinekob · 4 years ago
So question from novice in containers, podman vs docker why should i consider switching from docker?
timost · 4 years ago
A few elements to inform the decision:

- Both docker and podman support rootless containers.

- Rootless podman setup is easier to achieve from experience and it integrates well enough with systemd.

- Docker requires a daemon to run at all times whereas podman doesn't.

- A lot of interesting things are going on with podman ("native" gitlab-runner executor in the works, wsl2 support, among other things)

eberkund · 4 years ago
Doesn't Docker already support WSL2? Or is there something different about Podman's WSL2 support which makes it better/different than/from Docker's?
formerly_proven · 4 years ago
podman indeed has many interesting features, but those features tend to have interesting bugs and limitations as well.
rantoie · 4 years ago
Where can I find more information about this 'native' gitlab-runner executor?
ByteJockey · 4 years ago
The main use case right now is that your company won't spring for a docker desktop license (and you work in a windows/mac shop).

It works well enough for single docker images, but I've never gotten it to work well with a complicated docker-compose set-up (I haven't tried in a couple months though, so go check the docs before you write it off).

user3939382 · 4 years ago
The macOS Docker Desktop app (I haven’t experienced other versions) is free and works fine. The paid upgrade is only required for certain features that I would imagine many teams don’t need.

My complaint with it is that I’d prefer if there was a 100% feature-parity CLI interface so it could run in the background, and that it should be open source.

To have a low-level developer tool that’s required to be in my menubar and administered through a closed-source GUI is IMHO an insane departure from web software development norms. I use lazydocker for now but it should be an official utility that replaces the GUI app.

awild · 4 years ago
It depends on how complex your usecase is, but using pods and just scripting your containers' composition isn't such a hassle in podman.
qbasic_forever · 4 years ago
Docker is under a commercial license and if you use it at a company or work you need to now pay $5 a person a month: https://www.docker.com/pricing/

This changed in the last year, previously docker was free to use personally or at non enterprise scale work/office.

k8sToGo · 4 years ago
Isn't that only docker desktop? AFAIK docker cli and docker daemon are still free.
DangitBobby · 4 years ago
From what I read, the "Personal" $0 tier still has "small businesses" listed, and the little info tooltip for Docker Desktop also explicitly mentions "small businesses."

This can be found at the very bottom of that page:

> Docker Desktop can be used for free as part of a Docker Personal subscription for: small companies (fewer than 250 employees AND less than $10 million in annual revenue), personal use, education, and non-commercial open source projects.

rantoie · 4 years ago
I've been using podman for a year now and I didn't even realize it until I looked and saw that I had a symlink for 'docker' -> podman.
Klasiaster · 4 years ago
It's possible to run podman in podman in podman in …, which is nice if you containerize the build system but don't want to pack everything into one large image nor want to divide it into stages called by some main script on the host.
Klasiaster · 4 years ago
Some extra args needed, though:

  podman run -ti --rm --security-opt seccomp=unconfined --security-opt label=disable --cap-add SYS_ADMIN --env STORAGE_DRIVER=vfs quay.io/podman/stable sh -c 'podman run -ti --rm --security-opt seccomp=unconfined --security-opt label=disable --cap-add SYS_ADMIN --env STORAGE_DRIVER=vfs quay.io/podman/stable sh -c "podman run --rm hello-world"'

op00to · 4 years ago
Do you know if you need a license for that docker desktop you’re running?
alar44 · 4 years ago
You shouldn't.
mkdirp · 4 years ago
Why not?

Podman has an almost identical CLI to Docker, and can have a daemon that is fully Docker compatible (thus, all Docker integrations work against it including docker-compose). It is literally a drop-in replacement but it doesn't require your company to buy licenses. So yes, you should if you can.

sigg3 · 4 years ago
I'm not going to attest for accuracy on the statement, but from my RHCSA training I recall that docker runs as a daemon, while podman runs containers in separate processes; so it should be easier to avoid lockup/blocking.
aorth · 4 years ago
Looks great! I'm pretty comfortable with the podman command line, but here's another (text-based) management interface that is well done:

https://github.com/containers/podman-tui

RegnisGnaw · 4 years ago
Is there WSL2 integration?
gbraad · 4 years ago
Yes. Podman allows you to use WSL2 with the `podman machine` command on Windows.
RegnisGnaw · 4 years ago
That’s not it. What I’m looking for is the ability to run Podman Desktop on Windows and access it from WSL2. Docket Desktop supports this.