Skip to content

gitsang/docker-browser-vnc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-browser-vnc

Run multi-versions of chrome/firefox... in docker VNC.

This project aims to provide a lightweight multi-version browser testing environment for compatibility testing.

1. Summary

1.1 Basic image

We use linuxserver/docker-baseimage-kasmvnc as the base image.

1.2 package

Chrome is downloaded from:

Firefox is downloaded from:

1.3 Image tags named

gitsang/browser-vnc:{browser}-{browser_version}

2. Build from source

2.1 Build from existing dockerfile

docker build -f Dockerfile.chrome_86.0.4240.75 -t browser-vnc:chrome-86.0.4240.75 .

2.2 Write your own dockerfile

See https://github.com/linuxserver/docker-baseimage-kasmvnc?tab=readme-ov-file#application-containers for more imformation

FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntujammy

# Download and install applications

COPY /root /

Change the content of /root/default/autostart to your own application. For google-chrome, it should be google-chrome --no-sandbox

3. Run

3.1 Docker Cli

docker run -it --rm -p 3000:3000 gitsang/browser-vnc:chrome-86.0.4240.75

3.2 Docker Compose

services:
  chrome-86:
    image: gitsang/browser-vnc:chrome-86.0.4240.75
    container_name: chrome-81
    restart: unless-stopped
    shm_size: "512mb"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    ports:
      - "3000:3000"
    volumes:
      # optional
      - /etc/fonts:/etc/fonts
      - /usr/share/fonts:/usr/share/fonts
      - ./chrome-86:/config

4. Reference

About

multi-version of browser vnc container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors