Docker Container Permissions with Shares Across VMs reddit / selfhosted ---------------------------------------------------------------------- lowerproph3t · 2023-12-08 14:53 I am new to Proxmox and in the throes of the learning curve. I have an Openmediavault VM serving up my shares. Most of them are SMB because I'm on a mixed network, but the one share that I hope to use for Docker data is NFS. Both the SMB shares and the NFS share are shared with an Ubuntu Server VM where I installed Docker and Portainer. I have the SMB shares mounted in Ubuntu Server using the following commands: //192.168.1.145/TV /TV cifs username=[username],password=[password ],vers=2.0,iocharset=utf8,file_mode=0777,dir_mode=0777 //192.168.1.145/Books /Books cifs username=[username],password=[pa ssword],vers=2.0,iocharset=utf8,file_mode=0777,dir_mode=0777 //192.168.1.145/Pictures /Pictures cifs username=[username],passwo rd=[password],vers=2.0,iocharset=utf8,file_mode=0777,dir_mode=0777 //192.168.1.145/Music /Music cifs username=[username],password=[pa ssword],vers=2.0,iocharset=utf8,file_mode=0777,dir_mode=0777 //192.168.1.145/Videos /Videos cifs username=[username],password=[ password],vers=2.0,iocharset=utf8,file_mode=0777,dir_mode=0777 //192.168.1.145/Movies /Movies cifs username=[username],password=[ password],vers=2.0,iocharset=utf8,file_mode=0777,dir_mode=0777 I have the NFS share mounted in Ubuntu Server using: sudo mount 192.168.1.145:/export/AppData /AppData This is the share I'm using to store Docker container data. When I try to create Docker containers, I'm running into permissions errors. The logs in a Plex container show issues with permissions: Code: [migrations] started [migrations] no migrations found ─────────────────────────────────────── ██╗ ███████╗██╗ ██████╗ ██║ ██╔════╝██║██╔═══██╗ ██║ ███████╗██║██║ ██║ ██║ ╚════██║██║██║ ██║ ███████╗███████║██║╚██████╔╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ Brought to you by linuxserver.io ─────────────────────────────────────── To support LSIO projects visit: https://www.linuxserver.io/donate/ ─────────────────────────────────────── GID/UID ─────────────────────────────────────── User UID: 1000 User GID: 1000 ─────────────────────────────────────── chown: changing ownership of '/config': Operation not permitted **** Permissions could not be set. This is probably because your volume mounts are remote or read-only. **** **** The app may not work properly and we will not provide support for it. **** chown: changing ownership of '/config/Library/Application Support': Operation not permitted chown: changing ownership of '/config/Library': Operation not permitted chown: changing ownership of '/config': Operation not permitted Change in ownership detected, please be patient while we chown existing files This could take some time chown: changing ownership of '/config/Library/Application Support': Operation not permitted chown: changing ownership of '/config/Library': Operation not permitted chown: changing ownership of '/config': Operation not permitted chown: changing ownership of '/config/Library': Operation not permitted s6-rc: warning: unable to start service init-plex-chown: command exited 1 My questions, from specific to general are as follows: 1. What is the solution to my permissions issues with the Plex Docker container? 2. How can I address the permissions issues with my Docker containers? 3. Are my SMB and NFS shares between the two VMs a decent solution? 4. Am I setting myself up for headaches with two VMs? 5. For someone who wants a NAS and some containers running: Plex, jDownloader, qBittorrent, Radarr, Sonarr, Prowlarr among others, would a different solution be easier? Thank you for the help and Merry Christmas. ---------------------------------------------------------------------- thekrautboy · 2023-12-08 15:46 /r/LinuxQuestions /r/Linux4Noobs https://www.linuxserver.io/support