Sign inSign up

fphammerle/brave-browser

By fphammerle

•Updated about 4 years ago

Image
2

2.8K

fphammerle/brave-browser repository overview

⁠Brave Browser Container Image 🐳

⁠Setup

In the following instructions, podman may be replaced with sudo docker.

⁠Step 1: Select or Build Image

Perform one of the following steps:

⁠Step 2: Start Dedicated X Server

Choose some arbitrary [DISPLAY_NUMBER] and run:

$ Xephyr -resizeable :[DISPLAY_NUMBER]
# for example:
$ Xephyr -resizeable :1

Alternative: Adapt the access rights of your main X server
(cave: xhost + is horribly insecure)

⁠Step 3: Launch Container
$ podman run --name brave_browser --rm --init \
    -e DISPLAY=:[DISPLAY_NUMBER] -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v brave_browser_home:/home/browser --shm-size 1GB \
    --read-only --tmpfs /tmp:size=8k \
    --cap-drop ALL --security-opt no-new-privileges \
    [IMAGE_NAME]

Add --tmpfs /tmp:size=8k when using docker.

Tag summary

Content type

Image

Digest

Size

229.4 MB

Last updated

about 5 years ago

docker pull fphammerle/brave-browser