On Alpine if vers=2.0 is not included the os is unable to mount the share:Īlso it is required to add _netdev so the mounting process will wait for the network to initialize first,especially helpful for older systems.Įxit root shell and create the directories in fstab as mount targets: exit In the example we will create a separate directory on mnt/ for each content, so we need to declare the same remote path twice if two of the target folders are in the same root path. Make the netmount service start on boot: sudo rc-update add netmount bootĪs root create a file that contains the credentials of the remote shares: su rootĬhange the rights of the file so it can be read only by root: chmod 600 ~/.smbcrįind the uid and gid of the user that will run docker: id dockerasĮdit the fstab file and add the directories to be mounted: vi /etc/fstab //192.168.1.10/Synology1 /mnt/synomovies cifs uid=1000,gid=150,credentials=/root/.smbcr,_netdev,vers=2.0 0 0
#INSTALL SONARR DOCKER UNRAID APK#
Install cifs-utils in the Alpine VM to connect as a client to smb shares: sudo apk add cifs-utils This step can be ignored if the media files are in the same host with Sonarr etc. Sonarr,Radarr and Jackett need access to the folder where the media files are, which in many cases are in a Network Attached Storage and not in the same machine as the docker host.This post will use Samba shares to a Synology NAS as an example. If media folders remote then setup access to samba shares Then we proceed with the actual deployment of the containers. The first step in this guide, setting up smb shares, is specific to Sonarr and Radarr. The whole proccess consists of Sonarr and Radarr searching for media files using Jackett and send the findings provided by Jackett to the download client. Sonarr, Radarr and Jackett are necessary additions for a complete HTPC setup and serve as a nice example for anyone wishing to learn Docker.
#INSTALL SONARR DOCKER UNRAID HOW TO#
This post continues where previously How to install docker on Alpine Linux VM left, where we deployed an Alpine Linux virtual machine in a Proxmox host, created a docker user and installed docker engine.