Failure to set workdir with overlayfs volumes #15789
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman seems to have a problem setting the workdir (via the
-w
flag) in the container when using an overlay volume on kernels that support rootless overlays through overlayfs. I Tried forcing the use of fuse-overlayfs and it didn't result in such issue.Steps to reproduce the issue:
podman run -it --rm --volume /var:/var_ovl/:O -w /var_ovl/log docker.io/library/bash bash
on a 5.11+ kernel using the overlayfs driver.Describe the results you received:
Describe the results you expected:
Being able to set the work dir to mountpoints inside the overlay volume.
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: