noVNC Display for Docker container that works on windows using browser
859
noVNC Display files for Docker container that works on windows using browser. Useful for containered gui apps/software
This work is mostly inspired by theasp
Trying to make some changes to improve the Vulnerabilities shown by the docker scout.
| / | Vulnerabilities | Image size |
|---|---|---|
| Original | 6C:15H:16M:79L | ~ 608M |
| modified | 0C:4H:5M:4L | ~ 749M |
Prepare the image on local machine
docker image build https://raw.githubusercontent.com/aarsht7/novnc-docker/main/Dockerfile --tag <image-name-tag>
docker pull 1at7/novnc:latest
git clone https://github.com/aarsht7/novnc-docker
cd novnc-docker
docker image build --tag <image-name-tag> .
Run it on the local machine
docker run -d --rm --name=novnc --env="DISPLAY_WIDTH=1920" --env="DISPLAY_HEIGHT=1080" --env="RUN_XTERM=yes" --name=novnc -p=<ip>:8080:8080 <image-name-tag>
Note:
1at7/novnc:latest .For more info on the risk of exposing them read this
After running the above coomand, open the brovwer and go to the http://<ip>:8080/vnc.html After connecting, you should see the teminal running in the browser that is streaming from docker.
For using it with another docker, start this docker and for the other docker, simply setup the environment variable for the DISPLAY to the novnc:0.0
Content type
Image
Digest
sha256:ab348399f…
Size
246.7 MB
Last updated
almost 3 years ago
docker pull 1at7/novnc