Volume mount readonly boolean value is not read correctly #18995
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.
remote
Problem is in podman-remote
Issue Description
Here's what the doc says about the volume mount
readonly
option:and the example
But if you run this:
and you will get
If you remove the
ro
orreadonly
option, it will become writable, like thisSo it turned out that the document was not correct, or the implementation of volume option parsing is wrong. Boolean value should be parsed instead of just checking
readonly
option appears or not.Steps to reproduce the issue
Run
or
Describe the results you received
Describe the results you expected
It should be writable if the readonly option is set to
false
.podman info output
The text was updated successfully, but these errors were encountered: