Clarify the podman client <-> server compatibility rules #14277
-
Hi, I have a question wrt the compatibility rules between podman client and podman server, especially with the recent deployment of podman 4.x in fedora/RHEL 8.6/RHEL 9. My own experience seem to infer that:
Are these indeed the right compatibility rules ? If yes, I have a question. How are we meant to manage transition periods when you bump the major podman digit ? Context: we are in a corporate environment. Corporate environment implies we use entreprise distros, so RHEL in our case for the host machines. RHEL always trails behind fedora in term of podman version. On our new RHEL development machines, basically nothing except podman is installed, and we chose to run all our development actions inside containers that each developer is free to provide/manage, and basically install any needed software in a self-service mode (it's more or less the idea of ubi-toolbox). The thing is, we don't always necessarily use RHEL/ubi images inside our containers, we sometimes use Fedora (since RHEL/UBI is quite limited in term of package availability, when you compare to what can be installed by default on a Fedora image). We also want to be able to run containers side-by-side from inside the container, so we usually bind mount the podman socket inside the container. When the container is a fedora container, the client podman is usually more recent than the server podman. And during transition from podman 3.x to 4.x, this yields error. Note: I have forced the migration to RHEL 8.6 in my company, it will be done on all our RHEL development machine this week-end exactly to fix this kind of problems. Technically we had this issue since couple of days. Fedora 35 has podman 3, while Fedora 36 released around the same time RHEL 8.6 has podman 4. Yet, upgrading a container image (fedora) goes usually much faster than upgrade the host OS (RHEL). So, would it make sense to increase a bit the compatibility between podman client and server a bit to allow these interactions between RHEL hosts and Fedora containers ? Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I would suggest we have to be better and fix the last problem. Where Podman client 5.x will communicate with Podman 4.x servers. Basically we need to negotiate the connection and make sure this works, in the future. |
Beta Was this translation helpful? Give feedback.
I would suggest we have to be better and fix the last problem. Where Podman client 5.x will communicate with Podman 4.x servers. Basically we need to negotiate the connection and make sure this works, in the future.