I followed the trash guide and have sonaar and sabnzbd working brilliantly together in portainer.
My plex media folders when I was on win11 were on external disks. After moving to ubuntu I can find them under /media/<name>/…
Plex is able to read from them, so it was quick to rebuild the library. My question is, how can I give sonarr access to them? I want to be able to import them and have sonarr able to write to them (when I download episodes).
Is there a clever way to put them into the /data structure that I followed in the trash guide?
Thanks!
The feature you’re looking for is called bind mounts. https://docs.docker.com/storage/bind-mounts/
If I understand what you want to do, it is 100% possible, and I’m doing almost the exact same thing with my Plex.
If you spend a little extra time and create a docker compose file, you’ll save yourself in the long run
Lol I will. If only you knew how long I have spent getting this right so far. But worth it, it’s working perfectly at the moment .
Take a look at the docker-compose example in your link
volumes:
- /media/<your folder on host machine>:/<location you want to mount to inside docker container>
That’s great, thank you, will get on it tomorrow. Will I need to change permissions on the media folders?
Potentially. It’ll all depend on the permissions in the host (they’re inherited iirc) and the user you’re running your docker container as. I think if I remember correctly I made them 775 and all of the video stack related programs shared a group