{"id":13437392,"url":"https://github.com/theasp/docker-novnc","last_synced_at":"2025-06-20T23:32:10.406Z","repository":{"id":43040255,"uuid":"92203493","full_name":"theasp/docker-novnc","owner":"theasp","description":"noVNC Display Container for Docker","archived":false,"fork":false,"pushed_at":"2024-12-13T19:08:55.000Z","size":13,"stargazers_count":325,"open_issues_count":5,"forks_count":170,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-23T00:06:38.097Z","etag":null,"topics":["docker","novnc","vnc","x11"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theasp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-23T17:58:27.000Z","updated_at":"2025-05-21T16:27:20.000Z","dependencies_parsed_at":"2024-10-27T20:20:11.014Z","dependency_job_id":"eced406e-2b6d-4005-ad85-5d545ec7e06f","html_url":"https://github.com/theasp/docker-novnc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theasp/docker-novnc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fdocker-novnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fdocker-novnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fdocker-novnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fdocker-novnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theasp","download_url":"https://codeload.github.com/theasp/docker-novnc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fdocker-novnc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261035825,"owners_count":23100818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","novnc","vnc","x11"],"created_at":"2024-07-31T03:00:56.587Z","updated_at":"2025-06-20T23:32:05.387Z","avatar_url":"https://github.com/theasp.png","language":"Dockerfile","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# noVNC Display Container\n```\n```\nThis image is intended to be used for displaying X11 applications from other containers in a browser. A stand-alone demo as well as a [Version 2](https://docs.docker.com/compose/compose-file/#version-2) composition.\n\n## Image Contents\n\n* [Xvfb](http://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) - X11 in a virtual framebuffer\n* [x11vnc](http://www.karlrunge.com/x11vnc/) - A VNC server that scrapes the above X11 server\n* [noNVC](https://kanaka.github.io/noVNC/) - A HTML5 canvas vnc viewer\n* [Fluxbox](http://www.fluxbox.org/) - a small window manager\n* [xterm](http://invisible-island.net/xterm/) - to demo that it works\n* [supervisord](http://supervisord.org) - to keep it all running\n\n## Usage\n\n### Variables\n\nYou can specify the following variables:\n* `DISPLAY_WIDTH=\u003cwidth\u003e` (1024)\n* `DISPLAY_HEIGHT=\u003cheight\u003e` (768)\n* `RUN_XTERM={yes|no}` (yes)\n* `RUN_FLUXBOX={yes|no}` (yes)\n\n### Stand-alone Demo\nRun:\n```bash\n$ docker run --rm -it -p 8080:8080 theasp/novnc\n```\nOpen a browser and see the `xterm` demo at `http://\u003cserver\u003e:8080/vnc.html`\n\n### V2 Composition\nA version of the [V2 docker-compose example](https://github.com/theasp/docker/blob/master/docker-compose.yml) is shown below to illustrate how this image can be used to greatly simplify the use of X11 applications in other containers. With just `docker-compose up -d`, your favorite IDE can be accessed via a browser.\n\nSome notable features:\n* An `x11` network is defined to link the IDE and novnc containers\n* The IDE `DISPLAY` environment variable is set using the novnc container name\n* The screen size is adjustable to suit your preferences via environment variables\n* The only exposed port is for HTTP browser connections\n\n```\nversion: '2'\nservices:\n  ide:\n    image: psharkey/intellij:latest\n#    image: psharkey/netbeans-8.1:latest\n    environment:\n      - DISPLAY=novnc:0.0\n    depends_on:\n      - novnc\n    networks:\n      - x11\n  novnc:\n    image: theasp/novnc:latest\n    environment:\n      # Adjust to your screen size\n      - DISPLAY_WIDTH=1600\n      - DISPLAY_HEIGHT=968\n      - RUN_XTERM=no\n    ports:\n      - \"8080:8080\"\n    networks:\n      - x11\nnetworks:\n  x11:\n```\n**If the IDE fails to start simply run `docker-compose restart \u003ccontainer-name\u003e`.**\n\n## On DockerHub / GitHub\n___\n* DockerHub [theasp/novnc](https://hub.docker.com/r/theasp/novnc/)\n* GitHub [theasp/docker-novnc](https://github.com/theasp/docker-novnc)\n\n# Thanks\n___\nThis is based on the alpine container by @psharkey: https://github.com/psharkey/docker/tree/master/novnc\nBased on [wine-x11-novnc-docker](https://github.com/solarkennedy/wine-x11-novnc-docker) and [octave-x11-novnc-docker](https://hub.docker.com/r/epflsti/octave-x11-novnc-docker/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheasp%2Fdocker-novnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheasp%2Fdocker-novnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheasp%2Fdocker-novnc/lists"}