This fork only includes the instructions and dockerfile to run chromium inside docker on MacOS
- Install XQuartz: https://www.xquartz.org/
- Allow network connections in XQuartz preferences (security tab)
- Build dockerfile
sudo docker build -t "quartzedchromium:dockerfile" .
- Add/customize seccomp profile: https://raw.githubusercontent.com/jfrazelle/dotfiles/master/etc/docker/seccomp/chrome.json
- Add host IP for auth:
xhost + $(ifconfig en1 | grep inet | awk '$1=="inet" {print $2}')
- Run XQuartz
open -a XQuartz
- Run container
sudo docker run -e DISPLAY=[YOUR_IP]:0 -v /tmp/.X11-unix:/tmp/.X11-unix --privileged --security-opt seccomp=~/chrome.json quartzedchromium:dockerfile