Open the unRaid GUI (at least unRaid 6.5) and click on the Docker tab.Īdd the following line under "Template Repositories" and save the options. Unraid DockerĪn Unraid Docker template is available in the repository. You can learn more about using Docker by reading the official Docker documentation. To run the container in background add -d to the above command. Then while in the same folder as the docker-compose.yml run: docker-compose up # Optional - alternative address used for autodiscovery If there are submounts within the main mount, the submounts are read-write capable.Ĭreate a docker-compose.yml file with the following contents: version: "3.5" There is currently an issue with read-only mounts in Docker. 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 mount type=bind,source=/path/to/media,target=/media \ī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.įor a simple setup, it's considered easier to use Bind Mounts instead of volumes. volume /path/to/cache:/cache \ # Alternatively -volume jellyfin-cache:/cache volume /path/to/config:/config \ # Alternatively -volume jellyfin-config:/config Using Docker command line interface: docker run -d \ Using host networking ( -net=host) is optional but required 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 |