Giter Site home page Giter Site logo

bluelighter / chrome-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from siomiz/chrome

0.0 0.0 0.0 8.66 MB

Docker Automated Build Repository for siomiz/chrome -- Google Chrome via VNC (or via Chrome Remote Desktop)

Home Page: https://hub.docker.com/r/siomiz/chrome/

License: MIT License

Shell 58.99% Dockerfile 41.01%

chrome-1's Introduction

  • The testing branch for RandR (i.e. "Resize desktop to fit" in CRD client) is merged into master/latest.

Google Chrome via VNC

docker run -p 127.0.0.1:5900:5900 siomiz/chrome

  • Google Chrome, not Chromium, for the ease of Flash plugin management
  • on Xvfb, with FluxBox (no window decorations)
  • served by X11VNC (no password; assuming usage via SSH)

Must agree to Google Chrome ToS to use.

Google Chrome via Chrome Remote Desktop

... so you can use the full Google Chrome with Flash on iPad (with preliminary sound support)! Much faster than VNC thanks to VP8!

Prerequisite: Create a Profile Volume

You need a VNC client for the initial setup.

  1. docker run -d --name chrome-profile siomiz/chrome (NO password so DO NOT simply use -p 5900:5900 to expose it to the world!)
  2. Connect to the container via VNC. Find the container's IP address by docker inspect -f '{{ .NetworkSettings.IPAddress }}' chrome-profile
  3. Install the "Chrome Remote Desktop" Chrome extension via VNC and activate it, authorize it, and My Computers > Enable Remote Connections, then set a PIN. (Google Account required)
  4. docker stop chrome-profile

(Technically the only config file CRD uses is /home/chrome/.config/chrome-remote-desktop/~host.json which includes OAuth token and private key.)

Usage

docker run -d --volumes-from chrome-profile siomiz/chrome /crdonly (no port needs to be exposed) /crdonly command will run chrome-remote-desktop in foreground.

Docker ホスト(ヘッドレス可!)で走らせれば、「艦これ」等 Flash ブラウザゲームを iPad/iPhone/Android 等上の Chrome リモート デスクトップ アプリで一応プレイ可能になります。サウンド付き(遅延があります)。 Chrome は英語版ですが、Web ページ用の日本語フォントは含まれています。詳しくはこちら。

Chrome Updates

It is recommended to docker pull siomiz/chrome and restart the container once in a while to update chrome & crd inside (they will not get automatically updated). Optionally you can run docker exec <chrome-container> update to upgrade only google-chrome-stable from outside the container (exit Chrome inside CRD after upgrading).

chrome-1's People

Contributors

siomiz avatar kevinrigney 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.