Closed qtekk closed 3 years ago
It's also broken in the current virtual environment ubuntu-latest
or ubuntu-20.04
for github-actions as it provides buildah 1.20.0: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
Here is a workaround we are using in GitHub Actions, as per buildah troubleshooting: https://github.com/redhat-actions/buildah-build/issues/45#issuecomment-812043531
@Divyansh42 thank you very much for the pointer. For others that hop into this thread, here's the solution from the link @Divyansh42 provided. If you want more details, head over there.
Install and configure fuse-overlayfs.
Install the fuse-overlayfs package for your Linux Distribution.
Add mount_program = "/usr/bin/fuse-overlayfs" under [storage.options] in your ~/.config/containers/storage.conf file.
Well, a lot of users are going to continue to hit this upgrading from 1.19 to 1.20.
Is there any chance we can set fuse-overlayfs
as the Ubuntu default?
I have only seen the problem on Ubuntu; I don't know what change is causing it so that may or may not be the set of users affected.
This looks like https://github.com/containers/buildah/issues/1745 though that is a rather old issue
export STORAGE_OPTS="overlay.mount_program=/usr/bin/fuse-overlayfs"
- this fixed my issue.
https://github.com/containers/buildah/issues/3120#issuecomment-812153062 didn't work for me (missing ~/.config/containers/storage.conf file)
Description
After Buildah's update to 1.20.0, I'm no longer able to create a new image as a non-root user. It was possible on a previous version that I had.
Steps to reproduce the issue:
Describe the results you received:
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:*Output of `cat /etc/release`:**
Output of
uname -a
:Output of
cat /etc/containers/storage.conf
: