mount type=bind,source=/path/to/media2,target=/media2,readonly Multiple media libraries can be bind mounted if needed: -mount type=bind,source=/path/to/media1,target=/media1 Replace jellyfin-config and jellyfin-cache with /path/to/config and /path/to/cache respectively if using bind mounts. For a simple setup, it's considered easier to use Bind Mounts instead of volumes. Using host networking ( -net=host) is optional but required in order to use DLNA.īind Mounts are needed to pass folders from the host OS to the container OS whereas volumes are maintained by Docker and can be considered easier to backup and control by external programs. mount type=bind,source=/path/to/media,target=/media \ Using Docker command line interface: docker run -d \ Use host mode for networking in order to use DLNA. Bridge mode will be used if host mode is omitted. The default network mode for Docker is bridge mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |