-
Notifications
You must be signed in to change notification settings - Fork 885
Open
Description
$ podman run -q -v /dev/fuse --cap-add=all --rm -ti quay.io/buildah/stable:v1.38.1 bash -c 'id=$(buildah from busybox); buildah mount $id'
Resolved "busybox" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/busybox:latest...
Getting image source signatures
Copying blob 9c0abc9c5bd3 done |
Copying config af47096251 done |
Writing manifest to image destination
Error: mount /var/lib/containers/storage/overlay:/var/lib/containers/storage/overlay, flags: 0x1000: operation not permitted
WARN[0000] failed to shutdown storage: "mount /var/lib/containers/storage/overlay:/var/lib/containers/storage/overlay, flags: 0x1000: operation not permitted"
I'm trying to build on coreos/rpm-ostree#5268 to have it support being run in the same setup as the buildah container, which is widely used for nested builds (container-in-container).
In the end I don't actually need mount here necessarily; we could also copy the image to an OCI and operate, but I'd like to avoid another copy.
I haven't looked at the code here but I think this is also related to containers/podman#25241 in that the "mount" logic is different from the "run" flow.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels