How to install podman 4.4 on Ubuntu 22.04? #17362
Replies: 11 comments 26 replies
-
I think that is up to ubuntu, there are no binaries from podman upstream: There could be some Podman PPA or similar package repository available ? |
Beta Was this translation helpful? Give feedback.
-
I believe a more user friendly approach would be to create your own independent APT repository and distribute Ubuntu packages for Podman that way, similar to Docker: https://docs.docker.com/engine/install/ubuntu/ This would also allow you to replicate the same installation procedure, making it even easier to adapt to Podman. |
Beta Was this translation helpful? Give feedback.
-
@rhatdan @baude This isn't a formal request, but rather feedback: if there isn't a user-friendly method to install and maintain specific versions of Podman, we may have to consider alternative solutions. It's a reasonable expectation for users of any tool to have access to stable, version-specific installations. To not support this seems counterintuitive. |
Beta Was this translation helpful? Give feedback.
-
You can download pre-built binaries from the releases page: https://github.com/containers/podman/releases |
Beta Was this translation helpful? Give feedback.
-
Maybe not ideal, but I figured that homebrew on Linux allows installing the latest podman version (5.0.1 as of today). Tested on Zorin OS 17.1 Core. |
Beta Was this translation helpful? Give feedback.
-
If you want the latest version of Podman on the latest Ubuntu LTS, you could use https://software.opensuse.org/download/package?package=podman&project=home%3Aalvistack. |
Beta Was this translation helpful? Give feedback.
-
We might have better luck pleading with ubuntu to backport relevant bug fixes to the 3.x series they are releasing, in particular truly painful issues like:
See: Rather than expecting them to support a new major version of podman on an existing LTS of Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
Here I am trying to have Podman v5 on Ubuntu 24.04. It's such a bummer when I have to start adding unvetted 3rd party repositories or manually download and install packages just to have a recent software version. Really puts a cramp into my automation infrastructure. |
Beta Was this translation helpful? Give feedback.
-
I'm in the same boat with you pretty much (Ubuntu 22.04 LTS in my case, so stuck on 3.x, and there have been no updates to correct some unpleasant bugs that don't exist in 4.x/5.x). But maintaining ports for multiple distros is a lot of work, which is why teams with no dog at all in the distro fight still tend to abandon it and ship snaps etc. Snaps won't work for orchestration software like Podman, but from Red Hat's perspective they have done their part by creating and maintaining Podman. Of course they offer packages for their own distros, but shouldn't the Debian community and/or Canonical worry about ports to that distro family? That's why I think we'd be better off taking our concerns about backporting specific bug fixes to previous LTS releases to the Debian/Ubuntu maintenance teams and contributing patches. Or running Docker, hey it's an option. |
Beta Was this translation helpful? Give feedback.
-
The lack of official newer podman packages in 22.04 has been one of the biggest headaches for me. I've managed to get from 3.4.4 to 4.3.1 on 22.04 without hurdles and without using 3rd party sources. It's using packages from lunar (23.04) which is EOL though... Seems pretty stable from what I can see in my use. I found this gist by shvchk, but I forked it to add a few more related packages. (crun and conmon) https://gist.github.com/k3wals/84ed49a02cee61ab708a0c9730099363 |
Beta Was this translation helpful? Give feedback.
-
I have reduced my rate of issues with Podman 3.x on Ubuntu 22.04LTS by eliminating the use of named volumes in favor of bind mounts. This removes Podman from a significant area of responsibility, it is no longer responsible for any persistent state. So far I haven't seen the dreaded overlayfs corruption errors again. Probably my next step will be to migrate to plain old Docker, but I do not look forward to it as I already have logic to handle forwarding correctly to Podman's virtual network etc. in my firewall configuration. |
Beta Was this translation helpful? Give feedback.
-
Ubuntu 22.04 is the latest LTS version of the OS. It only contains podman 3.4.
The whatever repository here: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04/amd64/
only has version 4.3. and have "(WIP - USE WITH CAUTION)" title with it.
This one: https://build.opensuse.org/project/show/devel:kubic:libcontainers:stable is a lot older.
The assets here: https://github.com/containers/podman/releases/tag/v4.4.0
only have .exe, .msi, .zip, something that has an extension .pkg, and podman-remote .tgz.
Where are the files to install podman 4.4 (not remote) on linux? I'd like to try out the new pasta driver for rootless containers.
Beta Was this translation helpful? Give feedback.
All reactions