Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 531 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 531 Bytes

Running discord in docker

This is a Dockerfile to dockerize a discord session

Usage

Build the image locally

$ docker build -t discord .

Create the settings folder

$ mkdir -p $HOME/.config/discord-docker/

Start the container

$ docker run \
    -d \
    --rm \
    --name discord \
    -e DISPLAY \
    -v /tmp/.X11-unix/:/tmp/.X11-unix/ \
    -v $HOME/.config/discord-docker/:/home/ubuntu/.config/discord/ \
    --device /dev/snd \
    --device /dev/video0 \
    discord