This container allows you to access the brave web browser trough another web browser using kasmvnc.
To set up the container, you can either use docker-compose or the docker cli. You can also use options and additional settings/mods from linuxserver.io. Beta and nightly versions of the browser are also available!
docker-compose (recommended)
---
services:
brave:
image: ghcr.io/tibor309/brave:latest
container_name: brave-browser
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- BRAVE_CLI=https://www.github.com/ #optional
volumes:
- /path/to/config:/config
ports:
- 3000:3000
- 3001:3001
shm_size: "1gb"
restart: unless-stopped
hostname: brave #optional
docker run -d \
--name=brave-browser \
--security-opt seccomp=unconfined `#optional` \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e BRAVE_CLI=https://www.github.com/ `#optional` \
-p 3000:3000 \
-p 3001:3001 \
-v /path/to/config:/config \
--shm-size="1gb" \
--restart unless-stopped \
--hostname brave `#optional` \
ghcr.io/tibor309/brave:latest
You can find additional parameters and settings from the linuxserver/docker-chromium project page!
Parameter | Function |
---|---|
-p 3000 |
Brave desktop gui. |
-p 3001 |
HTTPS Brave desktop gui. |
-e PUID=1000 |
For UserID |
-e PGID=1000 |
For GroupID |
-e TZ=Etc/UTC |
Specify a timezone to use, see this list. |
-e BRAVE_CLI=https://www.github.com/ |
Specify one or multiple Brave CLI flags, this string will be passed to the application in full. |
-v /config |
Users home directory in the container, stores local files and settings |
--shm-size= |
This is needed for any modern website to function like youtube. |
--security-opt seccomp=unconfined |
For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
--hostname brave |
Hostname for the container. It is advised to change this to your own if you're planning to use brave sync. |
To access the container, navigate to the ip address for your machine with the port you provided at the setup.