1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Patrick

How-to Guide Dockerized CentOS or Ubuntu Desktop with HTML5 noVNC Web Browser Connectivity

Get a Docker container setup with a CentOS or Ubuntu Desktop that you can connect to with a browser

Tags:
  1. Patrick
    Here is a nice one for making a Docker container with VNC and noVNC access. noVNC allows you to access the container using a HTML5 web browser so you do not need to install software.

    Here is the GitHub of what we are using:

    Step 1: Pick CentOS or Ubuntu

    Step 2: Launch container:
    CentOS
    Code:
    docker run -d -p 5901:5901 -p 6901:6901 consol/centos-xfce-vnc
    Ubuntu
    Code:
    docker run -d -p 5901:5901 -p 6901:6901 consol/ubuntu-xfce-vnc
    Step 3: Connect via web browser:
    http://<IP Address here>:6901/?password=vncpassword/

    Docker VNC CentOS HTML5 noVNC Desktop.JPG

    This gives you a totally throw-away Linux container based on CentOS or Ubuntu that you can connect to via a web browser (e.g. your phone) without needing VNC software locally.

    This is likely okay for a quick session exposed to LAN only, but I would suggest not putting this on a publicly accessible IP.
    Rodskii and eva2000 like this.