-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podman v3 cannot load container images built with BuildKit #988
Comments
As a quick fix for the 0.8.0 release, we have rebuilt our container image with Podman, and have shipped that with our Debian packages. This means the image ID and hashes will be different from the one published in our 0.8.0 release assets. |
Thanks Alex for the detailed notes on the matter. I believe two things are worth noting:
The win for us, is that this issue seem to point to the direction of using Podman Desktop as a replacement for Docker Desktop when building the images, which is something we are currently considering in #925 |
Revamp the container image installation process in a way that does not involve using image IDs. We don't want to rely on image IDs anymore, since they are brittle (see #933). Instead, we use image tags, as provided in the `image-id.txt` file. This allows us to check fast if an image is up to date, and we no longer need to maintain multiple image IDs from various container runtimes. Refs #933 Refs #988 Fixes #1020
Revamp the container image installation process in a way that does not involve using image IDs. We don't want to rely on image IDs anymore, since they are brittle (see #933). Instead, we use image tags, as provided in the `image-id.txt` file. This allows us to check fast if an image is up to date, and we no longer need to maintain multiple image IDs from various container runtimes. Refs #933 Refs #988 Fixes #1020
Revamp the container image installation process in a way that does not involve using image IDs. We don't want to rely on image IDs anymore, since they are brittle (see #933). Instead, we use image tags, as provided in the `image-id.txt` file. This allows us to check fast if an image is up to date, and we no longer need to maintain multiple image IDs from various container runtimes. Refs #933 Refs #988 Fixes #1020
Revamp the container image installation process in a way that does not involve using image IDs. We don't want to rely on image IDs anymore, since they are brittle (see #933). Instead, we use image tags, as provided in the `image-id.txt` file. This allows us to check fast if an image is up to date, and we no longer need to maintain multiple image IDs from various container runtimes. Refs #933 Refs #988 Fixes #1020
Revamp the container image installation process in a way that does not involve using image IDs. We don't want to rely on image IDs anymore, since they are brittle (see #933). Instead, we use image tags, as provided in the `image-id.txt` file. This allows us to check fast if an image is up to date, and we no longer need to maintain multiple image IDs from various container runtimes. Refs #933 Refs #988 Fixes #1020
Revamp the container image installation process in a way that does not involve using image IDs. We don't want to rely on image IDs anymore, since they are brittle (see #933). Instead, we use image tags, as provided in the `image-id.txt` file. This allows us to check fast if an image is up to date, and we no longer need to maintain multiple image IDs from various container runtimes. Refs #933 Refs #988 Fixes #1020
We got bit by a Podman v3 issue, which we found out when we were about to publish our Debian packages to
apt-tools-prod
(see the CI failure):Background
Recent Docker Desktop versions ship with the containerd image store (BuildKit) by default, which is a different way to build and store images. This change caused a mixup with image IDs, and was the reason behind the 0.7.1 release (#933). Our way to fix it was to build the container image, and register two image IDs; one for the containerd image store (Docker Desktop only), and one for the legacy image store (Podman and older Docker users).
Turns out that Podman versions prior to 4.0 cannot load images built by the containerd image store. The result is to tag them in a weird way (
localhost/latest:latest
): containers/podman#11619Why now?
How come it bit us now? Well, it's not possible to catch this error during QA. The only way to catch it is to:
Next steps
We should add a line in our release notes to always build container images with the legacy image store.
The text was updated successfully, but these errors were encountered: