2023-08-09, 07:59 PM
Volumes don't get copied. You are mapping a host directory to a directory in the container.
Or, if using docker compose
Within the container /media is mapped to wherever you have your media on the host. No copying is done.
Code:
--volume /path/to/media/on/host:/media
Or, if using docker compose
Code:
volumes:
- /path/to/media/on/host:/media
Within the container /media is mapped to wherever you have your media on the host. No copying is done.