Closed avikivity closed 3 years ago
Same thing happens with a Fedora 34 guest on a Fedora 33 host.
I tried adding the magic variables
_BUILDAH_STARTED_IN_USERNS=""
BUILDAH_ISOLATION=chroot
and got
# buildah run $c touch /x
process exited with error: exec: "touch": executable file not found in $PATHsubprocess exited with status 1
exit status 1
ERRO exit status 1
# podman run --device=/dev/fuse --security-opt label=disable -ti --user build quay.io/buildah/stable sh
sh-5.1$ c=$(buildah from docker.io/fedora:33)
Getting image source signatures
Copying blob 8c741e919b67 done
Copying config a2fc101e1b done
Writing manifest to image destination
Storing signatures
sh-5.1$ buildah run $c touch /x
I am working on making this work better from rootless mode as well, stay tuned.
Why is this closed? Will it work with --security-opt label=disable?
@avikivity I showed you how to make it work in https://github.com/containers/buildah/issues/3262#issuecomment-849004433
Didn't work for me (I'm not root):
$ podman run --device=/dev/fuse --security-opt label=disable -ti --user build quay.io/buildah/stable sh
sh-5.1$ c=$(buildah from docker.io/fedora:33)
Getting image source signatures
Copying blob 8c741e919b67 done
Copying config a2fc101e1b done
Writing manifest to image destination
Storing signatures
sh-5.1$ buildah run $c touch /x
process exited with error: exec: "touch": executable file not found in $PATHsubprocess exited with status 1
exit status 1
ERRO exit status 1
sh-5.1$
What version of podman are you using?
podman-3.2.0-0.1.rc2.fc33.x86_64
[sic]
Description
I'm trying to run buildah inside a Fedora 33 container (which is running on a Fedora 33 host). I adjusted /etc/containers/storage.conf so that it uses fuse-overlayfs for storage, rather then the kernel's overlay filesystem.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
No error
Output of
rpm -q buildah
orapt list buildah
:(both host and guest)
Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:N/A
*Output of `cat /etc/release`:**
Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:host:
guest: