Public | Automated Build

Last pushed: 4 months ago
Short Description
Mostly working implementation of Discord Release/Canary in Docker
Full Description

docker-discord

This will run the latest release version of Discord in a Docker container:

To get at the canary version, change the last part of the following command string to keyglitch/docker-discord:canary (Discord will likely download updates and quit, stopping the container -- just re-run to start since the volume it downloads to is persisted).

Note: SELinux on Fedora isn't too happy with this container (mostly to do with desktop notifications through libnotify), so be sure to add exceptions as needed. Sound is also quite finicky, and is not muxed with the host (so playing audio on the host will block the container, vice versa).

docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/snd \
-v discordSettings:/home/discord \
-v /dev/shm:/dev/shm:z \
-v /etc/localtime:/etc/localtime:ro \
-v /var/run/dbus:/var/run/dbus \
-v /var/run/user/$(id -u)/bus:/var/run/user/1000/bus \
-e DBUS_SESSION_BUS_ADDRESS="unix:path=/var/run/user/1000/bus" \
-e DISPLAY=unix$DISPLAY \
--rm \
--group-add $(getent group audio | cut -d: -f3) \
keyglitch/docker-discord:latest
Docker Pull Command
Owner
keyglitch
Source Repository