-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Hi
I'm trying to run this docker with this composer:
mopidy:
container_name: mopidy
image: wernight/mopidy
volumes:
- ${USERDIR}/kontit/mopidy/local:/var/lib/mopidy/local
- ${USERDIR}/kontit/mopidy/config:/var/lib/mopidy/.config/
- /run/user/{$PUID}/pulse:/run/user/105/pulse:ro
ports:
- 6600:6600
- 6680:6680
user: ${PUID}:${PGID}
But when I try to run it, I get this error in the logs:
Traceback (most recent call last):
File "/usr/bin/mopidy", line 11, in <module>
load_entry_point('Mopidy==3.1.1', 'console_scripts', 'mopidy')()
File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 62, in main
create_core_dirs(config)
File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 157, in create_core_dirs
path.get_or_create_dir(config["core"]["config_dir"])
File "/usr/lib/python3/dist-packages/mopidy/internal/path.py", line 23, in get_or_create_dir
dir_path.mkdir(mode=0o755, parents=True)
File "/usr/lib/python3.7/pathlib.py", line 1251, in mkdir
self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/var/lib/mopidy/.config/mopidy'
The user is in the docker group and all the other container are working. Any idea what to do?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels