Skip to content

A dockerized Chrome in privacy mode, based in jfrazelle's Dockerfile

Notifications You must be signed in to change notification settings

verges-io/chrome-privacy

Repository files navigation

chrome-privacy

Basics

A dockerized Chrome in privacy mode, based in jfrazelle's Dockerfile.

It comes with

  • Ghostery installed
  • AdBlock Plus installed
  • hardware acceleration disabled, as I had issues playing videos

chrome-priv.sh

You can symlink this file in you /usr/local/bin folder. It contains a docker run command which mounts your whole home directory within /home/chrome/parent_home of the container, so you can access it. Additionally, your Downloads folder is mounted to /home/chrome/Downloads so that new downloads will end up in the good spot.

The --rm argument is used which throws away the container when you exit Chrome.

usage

To run Chrome in a container

docker run -d -it \
  --net host \
  -v /etc/localtime:/etc/localtime:ro \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -e DISPLAY=unix$DISPLAY \
  -v /var/lib/dbus:/var/lib/dbus \
  -v $HOME:/home/chrome/parent_home \
  -v $HOME/Downloads:/home/chrome/Downloads \
  -e USER_UID=${user_uid} \
  -e USER_GID=${user_gid} \
  --group-add audio \
  --group-add video \
  --device /dev/dri \
  -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro \
  -v /dev/shm:/dev/shm \
  -v /run/dbus/:/run/dbus/:rw \
  -v /dev/snd:/dev/snd \
  --privileged \
  sotapanna108/chrome-privacy

About

A dockerized Chrome in privacy mode, based in jfrazelle's Dockerfile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published