forked from Doma/docker-mopidy
matching other docker commands
This commit is contained in:
@@ -209,13 +209,13 @@ Having more issues? [Report a bug on GitHub](https://github.com/wernight/docker-
|
|||||||
For non debian distros. The gid for audio group in /etc/group must be 29 to match debians default as `audio:x:29:<your user outside of docker>` this is to match the user id inside the docker container. You'll also need to add the `output = alsasink` config line under the audio section in your `mopidy.conf`.
|
For non debian distros. The gid for audio group in /etc/group must be 29 to match debians default as `audio:x:29:<your user outside of docker>` this is to match the user id inside the docker container. You'll also need to add the `output = alsasink` config line under the audio section in your `mopidy.conf`.
|
||||||
|
|
||||||
```
|
```
|
||||||
alias mopidy='docker run -d -rm -u root \
|
$ docker run -d -rm \
|
||||||
--device /dev/snd \
|
--device /dev/snd \
|
||||||
--name mopidy \
|
--name mopidy \
|
||||||
--ipc=host \
|
--ipc=host \
|
||||||
--privileged \
|
--privileged \
|
||||||
-v $HOME/.config/mopidy:/var/lib/mopidy/.config/mopidy/ \
|
-v $HOME/.config/mopidy:/var/lib/mopidy/.config/mopidy/ \
|
||||||
-p 6600:6600/tcp -p 6680:6680/tcp -p 5555:5555/udp \
|
-p 6600:6600/tcp -p 6680:6680/tcp -p 5555:5555/udp \
|
||||||
mopidy'
|
mopidy
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user