#Music Assistant - SMB mount from Docker container

6 messages · Page 1 of 1 (latest)

hollow topaz
#

I am trying to mount my music collection from a remote SMB share, but it fails with error 13. Not sure how to troubleshoot this? I am running in priviliged mode to avoid any security related errors.

fathom scaffold
#

running a container in priviliged mode doesn't really have any bearing over what permissions the smb user you are using has. go back into your smb.conf and tweak perms again

hollow topaz
#

I have verified that I can indeed connect to the SMB share from the Docker host itself using smbclient. I can not get it to connect from inside of the MusicAssistant container.

hollow topaz
#

OK, so I figured out the problem. Seems the Docker container is built with AppArmor, but it is disabled in the docker file in the installation docs:

      - apparmor:unconfined```
#

Problem I had was that I use Portainer which have no AppArmor support, so I couldn't disable it.

#

The container uses the default AppArmor setting docker-default which disables the use of mount, resulting in Permission denied.