I am a n00b when it comes to linux/docker, so please go easy on me.
I have a Pi4 running LE9.2 and was trying to get a plex server going on it as well. Installing the server as a docker image via linuxserver addon was pretty easy. However when I went on to configure the server I realised that the folder containing my media on a NAS is not listed in the add folder option of Plex. I already have the NAS mounted to LE but have no idea how to get it to be visible to the Plex server running in docker.
With a little bit of googling and manually checking different files on the Pi, I tried modifying the hostconfig.jason in var/lib/docker/container/container-id to add the bind to my folder. I could see existing folder for pictures, video etc. from the host was mounted into the container. I included my folder in the same syntax as them, But when I tried to stop and start the image the whole folder vanished, have no clue what I screwed up.
I could have tried to mount it via cli using the commands but wasn't sure if it would be persistent though.
Any help on how I can mount the folder storage/NAS successfully into the Plex server will be appreciated. Also is there a way I can directly mount the NAS path rather than the mount of the NAS on the host system to the docker?
NAS is currently mounted in LE as : //192.168.1.100/media on /storage/NAS type cifs