Podman cannot create container when an overlay volume has additional arguments #14427
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
I'm trying to create a container where I mount a volume as an overlay of $HOME/.local, but the overlay volume is not persistent. According to the documentation, I should be able to add some additional configuration parameters to get the volume mount to be persistent. Unfortunately, that doesn't work as expected.
Steps to reproduce the issue:
--volume="/dir:/dir:O,upperdir=/mnt/upper,workdir=/mnt/work"
. Make sure the directories existsDescribe the results you received:
Error message: Error: can't use 'O' with other options
Describe the results you expected:
The container should have been created as it is described in the podman documentation
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
: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
Additional environment details (AWS, VirtualBox, physical, etc.):
physical
The text was updated successfully, but these errors were encountered: