Coder Social home page Coder Social logo

jvitor83 / chrome-remote-debug Goto Github PK

View Code? Open in Web Editor NEW

This project forked from risyadaji/chrome-remote-debug

0.0 1.0 0.0 16 KB

Docker configuration for a ubuntu installation with Chrome, socat and vnc configured by supervisord

License: MIT License

Makefile 34.11% Shell 9.47% Dockerfile 56.42%

chrome-remote-debug's Introduction

Chrome-remote-debug docker with VNC

A Google Chrome docker with VNC and chrome remote debugging enabled. The remote debugging port is exposed with the use of socat. Everything is managed by supervisord.

Running the docker image

make run

The commandline configuration for chrome can be changed by setting environment variables, default.env is loaded when no other file is configured.

Environment variables

  • width (default:1920)
  • height (default:1920)
  • lang (default:en)
  • extra_chrome_args (default:)

Ports

  • 9222: The remote-debugging port of Google Chrome is forwarded by socat
  • 5900: VNC server on port 5900

Extracting the Chrome version number

make version

With this version number a new image can be released

make TAG=60.0.3112.101 builddocker push

Viewing Chrome logs

docker exec -it chrome tail -f /var/log/chrome.log

Important notes

  • The shm-size must be set to a higher value than the default of 64mb because chrome uses this for inter process communications.
  • No password is set for VNC.
  • The chrome sandbox is disabled because the chrome sandbox interferes with the Docker sandbox

Extra info

Chromium command line switches Docker with chrome remote desktop Chrome DevTools Protocol Viewer

chrome-remote-debug's People

Contributors

fgeertsema avatar jvitor83 avatar mdulkiewicz avatar

Watchers

 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.