-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Impossible to build the image with podman #22799
Comments
Still looking into this. Some things I noticed so far:
$ cat Dockerfile
FROM quay.io/devfile/universal-developer-image:ubi8-latest
$ podman build -f Dockerfile
(...)
Copying blob cab8b52e242f done |
Copying blob 4f54068ca527 done |
Copying blob ef6ec184fd75 done |
Error: creating build container: writing blob: adding layer with blob "sha256:7b747ba046ed87bf97489e2a2cab5b558e261f45b4af36c3b24f58a9f67a66b0": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 301071:301071 for /usr/local/bin/LICENSE): Check /etc/subuid and /etc/subgid if configured locally and run "podman system migrate": lchown /usr/local/bin/LICENSE: invalid argument): exit status 1
However, I can get it to build with |
@benoitf any ideas why podman can not build the image? should we report the issue ? |
I think I saw in the past some errors when there were not enough ids available but you can file a bug (and if possible try also using podman v5) |
I've tested and confirmed that devfile/developer-images#167 fixes this issue. The default 5 Gi used for per-workspace storage is sadly not enough storage space to build the UDI image. I tried expanding my PVC to 16Gi and even that was not enough (though only 14.38Gi were used, I imagine you need >16Gi of storage to get the UDI built):
That merits its own issue being opened, however. Also we might want to try out using the fuse-overlayfs storage driver to help here: https://che.eclipseprojects.io/2024/03/28/@david.kwon-fuse-storage-driver.html CC: @dkwon17 |
It's not possible today to use overlay (fuse-overlayfs) storage driver on the dogfooding cluster, unless we either:
|
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Describe the bug
It is not possible to build the image with podman
Che version
next (development version)
Steps to reproduce
podman build .
Expected behavior
Podman should build the image
Runtime
OpenShift
Screenshots
The text was updated successfully, but these errors were encountered: