(private) github repository: https://github.com/janvda/my-xserver/tree/main/pavucontrol
This service launches the pavucontrol x11 application.
It requires an X11-server for displaying this application (on a macbook you can use XQuartz application).
Security on the X11-server must be configured to allow remote connections from the host machine where this service is running.
FYI in order to give host nuc1 access to use the X-server, you can open a terminal window on the X-server and run command xhost +<host-to-add> as specified here below
bash-3.2$ xhost +nuc1.lan
nuc1.lan being added to access control list
bash-3.2$ xhost
access control enabled, only authorized clients can connect
INET:nuc1.lan
INET:nuc3.lan
INET:pi3three.lan
bash-3.2$
pavucontrol:
image: janvda/pavucontrol:1.0.1
environment:
- DISPLAY=mac-jan:0.0
- PULSE_SERVER=/tmp/pulse_socket
- TZ=${TZ:-Europe/Paris} # sets the timezone (you can also use "UTC") - important for timestamps
volumes:
- /run/user/900/pulse/native:/tmp/pulse_socket # pulse audio socket
pavucontrol:
image: janvda/pavucontrol:1.0.1
network_mode: host
environment:
- DISPLAY=:0
- PULSE_SERVER=unix:/run/user/pulseaudio/native
devices:
- /dev/dri:/dev/dri # not sure if this is really needed.
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /run/user/1001/pulse/native:/run/user/pulseaudio/native
Content type
Image
Digest
sha256:924aa7d5b…
Size
134.6 MB
Last updated
over 3 years ago
docker pull janvda/pavucontrol