Sign inSign up

janvda/pavucontrol

By janvda

•Updated over 3 years ago

Image
0

367

janvda/pavucontrol repository overview

⁠pavucontrol

(private) github repository: https://github.com/janvda/my-xserver/tree/main/pavucontrol⁠

⁠Description

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$ 

⁠docker-compose example 1 (using x-server on mac-jan)

  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

⁠docker-compose example 2 (using x-server running on same host)

  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

Tag summary

Content type

Image

Digest

sha256:924aa7d5b…

Size

134.6 MB

Last updated

over 3 years ago

docker pull janvda/pavucontrol