Code Monkey home page Code Monkey logo

novnc's Introduction

⭐ Give me a star, please! ⭐


javanile/novnc

This image is intended to run a small standalone server that can target either other machines on the same network or other Docker containers.

Usage

STEP #1 Place NoVNC service into your docker-compose.yml file

version: '2'

services:

  novnc:
    image: javanile/novnc
    environment:
      - REMOTE_HOST=localhost
      - REMOTE_PORT=5900
    ports:
      - 8081:8081
    links:
      - selenium

  selenium:
    image: selenium/standalone-chrome-debug:3.11.0-californium
    environment:
      - VNC_NO_PASSWORD=1
      - SCREEN_WIDTH=1200
      - SCREEN_HEIGHT=675
    ports:
      - 4444:4444
      - 5900:5900

STEP #2 Run container with follow command

docker-compose up -d

STEP #3 Now visit this http://localhost:8081 boom!

Configuration

Two environment variables exist in the docker file for configuration REMOTE_HOST and REMOTE_PORT.

Variables

  • REMOTE_HOST: Host running a VNC Server to connect to - defaults to localhost
  • REMOTE_PORT: Port that the VNC Server is listening on - defaults to 5900

Ports

  • 8081 is exposed by default.

Standalone usage

docker run -d -p 8081:8081 -e REMOTE_HOST=192.168.86.135 -e REMOTE_PORT=5901 javanile/novnc

novnc's People

Contributors

francescobianco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

novnc's Issues

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.