Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fphammerle/docker-brave-browser
brave-browser https://brave.com/ 🐳
https://github.com/fphammerle/docker-brave-browser
brave brave-browser docker docker-compose podman
Last synced: 3 days ago
JSON representation
brave-browser https://brave.com/ 🐳
- Host: GitHub
- URL: https://github.com/fphammerle/docker-brave-browser
- Owner: fphammerle
- Created: 2019-04-13T22:53:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T23:07:56.000Z (3 months ago)
- Last Synced: 2024-08-17T00:23:04.585Z (3 months ago)
- Topics: brave, brave-browser, docker, docker-compose, podman
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/fphammerle/brave-browser/tags
- Size: 122 KB
- Stars: 10
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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:
- ```sh
$ git clone https://github.com/fphammerle/docker-brave-browser
$ cd docker-brave-browser
$ podman build -t [IMAGE_NAME] .
```
- Select a pre-built image at https://hub.docker.com/r/fphammerle/brave-browser/tags
(e.g., `docker.io/fphammerle/brave-browser:0.2.0-browser1.22.71-amd64`)### Step 2: Start Dedicated X Server
Choose some arbitrary `[DISPLAY_NUMBER]` and run:
```sh
$ 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
```sh
$ 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`.