Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fully customize single browser (chrome)? #93

Open
sandyboxy opened this issue Feb 14, 2024 · 0 comments
Open

How to fully customize single browser (chrome)? #93

sandyboxy opened this issue Feb 14, 2024 · 0 comments

Comments

@sandyboxy
Copy link

Hello,
I've installed chrome single browser using the following docker-compose.yml file:

version: '3.8'
services:
  chrome:
    ports:
        - '6911:6901' #change 6901 as necessary. eg. '6901:6901', '6902:6901', '6903:6901'
    environment:
        - VNC_PW=<my_password> #change as desired
        - http_proxy=<my_proxy>
        - https_proxy=<my_proxy>
    shm_size: '1gb' #change per your needs. eg. '512m', '1gb', '2gb'
    image: 'kasmweb/chrome:1.15.0' #change the image to your desired image
    volumes:
      - ./kasm-user/:/home/kasm-user

I've mapped browser home directory using a volume to have data persistence and I set proxy with http_proxy and https_proxy variables I found in a dockerfile.

Is there a tutorial to fully customize browser (eg. kiosk mode, etc.) or a list of ENV variables I can use?

FInally, these are the errors I have when I simply start chrome container:

docker-kasmaweb-chrome-chrome-1  | ** (xfdesktop:422): WARNING **: 15:26:43.284: Failed to get system bus: Could not connect: No such file or directory
docker-kasmaweb-chrome-chrome-1  | 
docker-kasmaweb-chrome-chrome-1  | (xfce4-session:77): xfce4-session-WARNING **: 15:26:51.141: Unable to launch "nm-applet" (specified by autostart/nm-applet.desktop): Failed to execute child process “nm-applet” (No such file or directory)
docker-kasmaweb-chrome-chrome-1  | 
docker-kasmaweb-chrome-chrome-1  | (xfce4-session:77): xfce4-session-WARNING **: 15:26:51.145: Unable to launch "system-config-printer-applet" (specified by autostart/print-applet.desktop): Failed to execute child process “system-config-printer-applet” (No such file or directory)
docker-kasmaweb-chrome-chrome-1  | 
docker-kasmaweb-chrome-chrome-1  | ** (xiccd:435): CRITICAL **: 15:26:51.152: Failed to connect to colord: Could not connect: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant