Docker deployment for noVNC-base.
-
Docker env.
-
Config the Dockerfile such as:
FROM binacslee/novnc-base # The env you can modify ENV HOME=/root \ DEBIAN_FRONTEND=noninteractive \ DISPLAY=:0.0 \ DISPLAY_WIDTH=1024 \ DISPLAY_HEIGHT=768 \ HOMEPAGE=/usr/share/novnc # The application you need RUN \ apk add APPNAME && \ echo \ "\ [program:APPNAME] \ command=APPNAME $ARGS \"%(ENV_VALUENAME)s\" \ autorestart=true" | sed 's/ */\n/g' >> "/etc/supervisord.conf" CMD ["foo-bar", "$ARGS"]
-
Build images:
build -t foo/bar:tag .
-
Use:
Visit: http://localhost:10000