Skip to content

Instantly share code, notes, and snippets.

@vik-y
Created June 16, 2017 09:33
Show Gist options
  • Save vik-y/7ec19ab7045d64e07f62e5bcae32f17a to your computer and use it in GitHub Desktop.
Save vik-y/7ec19ab7045d64e07f62e5bcae32f17a to your computer and use it in GitHub Desktop.
Run chrome inside a container.
xhost +
docker run -it --privileged --net host -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY -v $HOME/Downloads:/root/Downloads --device /dev/snd --name chrome jess/chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment