Skip to content

DrSnowbird/vscode-docker-vnc

Repository files navigation

Visual Studo Code + Java 8 (1.8.0) OpenJDK + Maven 3.6 + Python 3.6 + PIP3 19 + + npm 6 + node 13 + Gradle 6 + noVNC

KNIME Analytics Platform with VNC/noVNC for Container Cluster Platforms (Openshift, Kubernetes, etc.)

Components:

Run (recommended for easy-start)

Image is pulled from openkbs/vscode-docker-vnc

./run.sh

Mobile devices and Desktop PC supported / tested:

  • SmartPhones: tested ok! iPhone5 Safari works though phone screen size being too small vs the desired HD 1920x1080. It should work across all the smartphones with HTML5-capable brwosers. Hence, to access with small phone screen, run with VNC_RESOLUTION=800x600 (or adjust it to fit your phone's screen size).
  • Tablets: tested ok! Amazon Fire with noVNC works!. It should work across all the tablets with HTML5-capable brwosers. See KNIME Analytics with Amazon Fire tablet
  • Desktop PC or MacBook: tested ok! It should work across all PCs Desktop with HTML5-capable brwosers. See KNIME Analytics on Desktop PC Browser

Connect to VNC Viewer/Client or noVNC (Browser-based VNC)

Once it is up, the default password is "vncpassword" to access with your web browser:

http://<ip_address>:6901/vnc.html,
e.g.
=> Standalone Docker: http://localhost:6901/vnc.html
=> Openshift Container Platform: http://<route-from-openshift>/vnc.html
=> Kubernetes Container Platform: (similar to the Openshift above!)

Run - Override VNC environment variables

The following VNC environment variables can be overwritten at the docker run phase to customize your desktop environment inside the container. You can change those variables using configurations CLI or Web-GUI with OpenShift, Kubernetes, DC/OS, etc.

VNC_COL_DEPTH, default is 24 , e.g., change to 16,
    -e VNC_COL_DEPTH=16
VNC_RESOLUTION, default: 1920x1080 , e.g., change to 1024x800
    -e VNC_RESOLUTION=1280x1024
VNC_PW, default: vncpassword , e.g., change to MySpecial!(Password%)
    -e VNC_PW=MySpecial!(Password%)

Screen (Desktop) Resolution

Two ways to change Screen resolutions as below:

1.) Modify ./run.sh file

#VNC_RESOLUTION="1280x1024"
VNC_RESOLUTION="1920x1280"

2.) Customize Openshift or Kubernetes container run envionrment

Set up, say, VNC_RESOLUTION with value 1920x1280

Build

You can build your own image locally.

./build.sh

VNC/noVNC Resources

See also VNC/noVNC docker-based IDE or Analytics Platform

See Also - docker-based IDE

Eclipse issues

  • You might see WARNING message in the log from Eclipse for class not found. It has no impact in VNC or the KNIME tools. However, it might needs to be fixed by KNIME product team. We will not address here it for now.
WARNING: Aries Blueprint packages not available. So namespaces will not be registered
java.lang.NoClassDefFoundError: org/apache/aries/blueprint/NamespaceHandler

Releases information

About

Visual Studio Code IDE Docker Container in VNC/NoVNC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published