Skip to content

Mounting a Host Directory in a Podman Container While Preserving Container’s Directory Content #20460

Answered by rhatdan
honhimW asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting I was not aware of this behaviour.

This seems similar to the behavior of using a named volume.

If you do a podman run -v mysql:/var/lib/mysql ... Does it do what you expect, other then not using a directory on disk?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@honhimW
Comment options

@rhatdan
Comment options

Answer selected by honhimW
@honhimW
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants