Skip to content

How do I use dbus in a docker container? #1650

Discussion options

You must be logged in to vote

@JesseRiemens

The following example does disable convolution for eg:

docker run --name myshairport -d --restart unless-stopped --net host --device /dev/snd \ mikebrady/shairport-sync
docker exec -ti myshairport \
   dbus-send --print-reply --system \
  --dest=org.gnome.ShairportSync /org/gnome/ShairportSync org.freedesktop.DBus.Properties.Set string:org.gnome.ShairportSync \
  string:Convolution variant:boolean:false

(dbus-send obviously runs inside the container)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@JesseRiemens
Comment options

Comment options

You must be logged in to vote
2 replies
@dubo-dubon-duponey
Comment options

@JesseRiemens
Comment options

Answer selected by JesseRiemens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants