Cannot overlay mount an existing volume #24555
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.
Issue Description
When a container image has a volume
VOLUME ["/data"]
, and that volume is-v /host:/container-volume:O,upperdir=/upper,workdir=/tmp/container
, Podman will fail and not allow this overlay to exist.Steps to reproduce the issue
Dockerfile: https://github.com/itzg/docker-minecraft-server/blob/bfc75cad21aaa0fc9d1d333ad16f355dc809edeb/Dockerfile#L61
Podman Create:
Describe the results you received
Describe the results you expected
No error, and the anonymous image is successfully mounted in the container, without creating unecessary local volumes.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
No response
Additional information
There are only the remote binaries available, which just call the existing APIs on containerd, no difference regardless.
Log
If possible, I'd like a fix for this to be backported to Debian 12 Podman.
The text was updated successfully, but these errors were encountered: