Make docker "mount aware" in bind mounts?

My usecase:


Now, if i mount /mnt/pve/4bay AFTER the container started i don’t see the mount INSIDE the container. (Only if i restart the container)

Can i make docker “host mount aware”?

Found this myself:

          propagation: rslave

seems to make the job! :slight_smile:

Yep, that’s how the default bind propagation works.

You already figured out by yourself that you need to change the bind propagation:

For those who can’t make sense of the content from the code block: it shows facets of a compose file volume declaration using the long syntax, see: