Replies: 1 comment 1 reply
-
Unless I'm misunderstanding what you're saying, that's how volume mounts work without the "O" flag. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation at https://docs.podman.io/en/latest/markdown/podman-run.1.html#volume-v-source-volume-host-dir-container-dir-options states the following about overlay volume mounts:
However, I want to have the exact opposite. I.e. I want to mount a host directory as an overlay over a read-only container directory. The reason I want this is because I want to prepare a home directory when I build a container but then I want any changes inside this home directory to be persisted to a non-volatile host directory. This is so that changes to the home directory inside the container do not get lost when the container is destroyed or rebuilt.
Is this already possible in some way or something to request a feature for?
Beta Was this translation helpful? Give feedback.
All reactions