Compart - Document- and Output-Management

DevBlog

Workaround for Podman Compose if Problems Occur When Downloading Images From the Compart Registry

Thorsten Meudt |

After migrating my computer to Windows 11 and installing the latest versions of podman and podman desktop, I ran into an issue where - despite being logged in correctly by executing “podman login reg-container.compart.com” - podman compose failed to pull the required OCI images from our registry. At the same time, executing “podman image pull” worked without any problem.

The error message indicated an authentication problem:

After wasting an adequate amount of time on checking permissions etc., it turned out I was not the only one experiencing the issue and it is unrelated to our docker-compose script and our registry setup, but an issue with podman itself.

Applying the workaround described here Compose fails to use registry credentials Compose fails to use registry credentials · Issue #22682 · containers/podman solved the issue for me. Not good and hopefully a better fix will be made available.

A similar issues exists on MacOS devices, workaround described here:
podman compose uses different authentication file for registry access · Issue #5438 · podman-desktop/podman-desktop