Skip to content

🪩 Google Chrome accessible trough another web browser.

License

Notifications You must be signed in to change notification settings

tibor309/chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪩 Google Chrome Browser

A web accessible google chrome browser, using kasmvnc. I don't know why would you use chrome, but its here. Note: This image is only compatibile with the amd64 archiecture!

Setup

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. For updating the container, simply recreate the container. The beta version is also availlable!

docker-compose (recommended)

---
services:
  chrome:
    image: ghcr.io/tibor309/chrome:latest
    container_name: google-chrome
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - CHROME_CLI=https://www.github.com/ #optional
    volumes:
      - /path/to/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped
docker run -d \
  --name=google-chrome \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e CHROME_CLI=https://www.github.com/ `#optional` \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /path/to/config:/config \
  --shm-size="1gb" \
  --restart unless-stopped \
  ghcr.io/tibor309/chrome:latest

Config

You can also use additional parameters and settings from the linuxserver/docker-chromium project!

Parameter Function
-p 3000 Chrome desktop gui.
-p 3001 HTTPS chrome 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 CHROME_CLI=https://www.github.com/ Specify one or multiple 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.

Usage

To access the container, navigate to the ip address for your machine with the port you provided at the setup.