noVNC Display Container: oraclelinux:7-slim + Xvfb + Fluxbox + x11vnc + noVNC + apps
10K+
This image is intended to be used for displaying x11 applications from container in a browser.
- Base image oraclelinux:7-slim
Build image:
docker build -f Dockerfile -t docker.novnc .
You can specify the following variables:
DISPLAY_WIDTH=<width> (1024)DISPLAY_HEIGHT=<height> (768)VNC_PASS=<password> (passw0rd)Run with default settings:
docker run -it --rm \
--shm-size 256m \
--stop-timeout 60 \
--name vnc \
--network bridge \
-p 6080:6080/tcp \
docker.novnc:latest
Run with custom settings:
docker run -dit \
--shm-size 256m \
--stop-timeout 60 \
-e "DISPLAY_WIDTH=1920" \
-e "DISPLAY_HEIGHT=899" \
-e "VNC_PASS=123456" \
--name vnc \
--network=bridge \
-p 6080:6080/tcp \
docker.novnc:latest
Run with custom settings:
docker-compose -f docker-compose.yml -p "vnc" up --build -ddocker-compose -f docker-compose.yml -p "vnc" psdocker-compose -f docker-compose.yml -p "vnc" stopdocker-compose -f docker-compose.yml -p "vnc" rmversion: '3.7'
services:
vnc:
image: docker.novnc:latest
container_name: vnc
shm_size: 256mb
stop_grace_period: 1m
network_mode: bridge
# restart: always
environment:
- DISPLAY_WIDTH=1920
- DISPLAY_HEIGHT=899
- VNC_PASS=123456
ports:
- 6080:6080/tcp
Open a browser and see the xterm and firefox demo at http://<server>:6080
Content type
Image
Digest
Size
330 MB
Last updated
about 7 years ago
docker pull rlagutinhub/docker.novnc