Run Mumble inside an isolated Docker container on your Linux desktop! See its sights via X11 forwarding! Hear its sounds through the magic of PulseAudio and SSH tunnels!
Known Issue: While audio works flawlessly during calls and Mumble is perfectly usable, the notification sounds such as call ringing do not work.
The easiest method to get Mumble in docker is to download the already prepared image from the official Docker image index repository: lnovy/mumble. Follow further instructions there.
In case you do not want to download the prepared image, you can built the image yourself using these following instructions.
Install PulseAudio Preferences. Debian/Ubuntu users can do this:
sudo apt-get install paprefs
Launch PulseAudio Preferences, go to the "Network Server" tab, and check the "Enable network access to local sound devices" and "Don't require authentication" checkboxes
Restart PulseAudio
sudo service pulseaudio restart
or
pulseaudio -k
pulseaudio --start
On some distributions, it may be necessary to completely restart your computer. You can confirm that the settings have successfully been applied using the pax11publish command. You should see something like this (the important part is in bold):
Server: {ShortAlphanumericString}unix:/run/user/1000/pulse/native tcp:YourHostname:4713 tcp6:YourHostname:4713
Cookie: ReallyLongAlphanumericString
Install Docker if you haven't already
Clone this repository and get right in there
git clone https://github.com/lnovy/docker-mumble-pulseaudio.git && cd docker-mumble-pulseaudio
Build the container
sudo docker build -t mumble .
Create an entry in your .ssh/config file for easy access. It should look like this:
Host docker-mumble
User docker
Port 55556
HostName 127.0.0.1
RemoteForward 64713 localhost:4713
ForwardX11 yes
(Optional) I recommend creating an SSH key without a password to be used to connect to this container. So in case you used a non-standard filename for your SSH key, add this:
IdentityFile /path/to/your/ssh/key
Run the container and forward the appropriate port
sudo docker run -d -p 55556:22 mumble
(Optional) Copy an SSH public key
If you plan to use an SSH key, copy the public key to the docker container using the following command. The password is docker.
ssh-copy-id -i /path/to/your/public/key.pub docker-mumble
Connect via SSH and launch Mumble using the provided PulseAudio wrapper script
ssh docker-mumble mumble-pulseaudio
In case you didn't copy the SSH public key, the password is docker.
Go use Mumble in a safe container!
Content type
Image
Digest
sha256:8aa0edf6a…
Size
183.9 MB
Last updated
over 8 years ago
docker pull lnovy/mumble