Make docker "mount aware" in bind mounts?

My usecase:

volumes:
/mnt/pve:/mnt/pve

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”?

EDIT:
Found this myself:

bind:
          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:
https://docs.docker.com/storage/bind-mounts/#configure-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: https://docs.docker.com/compose/compose-file/05-services/#long-syntax-5.