Giter Site home page Giter Site logo

zerogate / zerogate-browser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linuxserver/docker-baseimage-kasmvnc

0.0 0.0 0.0 261 KB

ZeroGate browser isolation docker image

License: GNU General Public License v3.0

Shell 37.88% Dockerfile 62.12%

zerogate-browser's Introduction

ZeroGate browser is an open-source secure and isolated docker image for running Chromium inside a container. It's a fork of linuxserver/chromium.

Projects version
linuxserver/chromium linuxserver/baseimage-alpine:3.19
Alpine 3.19
Chromium latest
KasmVNC master

Supported Architectures

The architectures supported by this image are:

Architecture Available Tag
x86-64 โœ… <version tag>
arm64 โœ… arm64v8-<version tag>

Application Setup

The application websocker can be accessed at:

  • ws://yourhost:3000/ws/SECRET

Options in all KasmVNC containers

This container is based on Docker Baseimage KasmVNC which means there are additional environment variables and run configurations to enable or disable specific functionality.

Optional environment variables

Variable Description
SECRET The secret webscoket path. The default SECRET is a random UUID 3000.
CUSTOM_PORT Internal port the container listens on for http if it needs to be swapped from the default 3000.
TITLE The page title displayed on the web browser, default "KasmVNC Client".
DRINODE If mounting in /dev/dri for DRI3 GPU Acceleration allows you to specify the device to use IE /dev/dri/renderD128

Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

docker-compose

---
services:
  chromium:
    image: zerogate/zerogate-browser:latest
    container_name: zerogate_browser
    environment:
      - SECRET=supersecretpath
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    ports:
      - 3000:3000
    shm_size: "1gb"
    restart: unless-stopped

docker cli

docker run -d \
  --name=zerogate-browser \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e SECRET=supersecretpath \
  -p 3000:3000 \
  --shm-size="1gb" \
  --restart unless-stopped \
  zerogate/zerogate-browser:latest

Parameters

Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

Parameter Function
-p 3000 Chromium KasmVNC websocket port.
-e SECRET=<randomUUID> Chromium KasmVNC websocket port.
-e PUID=1000 for UserID - see below for explanation
-e PGID=1000 for GroupID - see below for explanation
-e TZ=Etc/UTC specify a timezone to use, see this list.
--shm-size= This is needed for any modern website to function like youtube.

GUI

This image only websocket connection of Chromium. If you want use the GUI you can use https://github.com/kasmtech/noVNC.

zerogate-browser's People

Contributors

vinothsparrow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.