dependabot[bot] e40ba5cfa9 Bump debian from 12.7-slim to 12.8-slim (#75) | 1 өдөр өмнө | |
---|---|---|
.github | 1 сар өмнө | |
CHANGELOG.md | 3 жил өмнө | |
Dockerfile | 1 өдөр өмнө | |
Makefile | 3 жил өмнө | |
README.md | 3 жил өмнө | |
docker-compose.yml | 3 жил өмнө |
In the following instructions, podman
may be replaced with sudo docker
.
Perform one of the following steps:
$ 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
)
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)
$ 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
.