piopi / docker-desktop

A Dockerized light-weight desktop environment accessible from the browser with NoVNC. Firefox Browser included.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Desktop Docker Image CI

Overview

A Dockerized light-weight desktop environment accessible from the browser with NoVNC. Firefox Browser included.

noVNC view of the Container running

The image comes with noVNC to allow user to view the desktop environment with their browsers.

Usage

docker run -d -p 6901:6901 -p 5901:5901 --name desktop piopirahl/docker-desktop:1.0.2

You will be able to access the noVNC windows at http://localhost:6901 or use your VNC viewer with localhost:5901

Custom configs

The config files are stored under /home/dockeruser/.config on the container. In order, to save on your host your configs, you can follow those steps:

  1. Run the docker image to generate the configs on the container
docker run -d -p 6901:6901 -p 5901:5901 --name desktop piopirahl/docker-desktop:1.0.2
  1. Copy the content of the container on the host
mkdir config
docker cp desktop:/home/dockeruser/.config  $PWD/config
  1. Stop the running container and start a new one with a mounted volume
docker rm -f desktop
docker run -d -p 6901:6901 -p 5901:5901 --name desktop -v $PWD/config/.config:/home/dockeruser/.config piopirahl/docker-desktop:1.0.2
  1. Now your local configs will be saved on your host machine

Ports

6901 is exposed by default for the noVNC.

5901 is exposed by default for VNC.

DockerHub

DockerHub link of the images:

Image Contents

  • Xvfb - X11 in a virtual framebuffer
  • TigerVNC - A VNC server that scrapes the above X11 server
  • noVNC - A HTML5 canvas vnc viewer
  • xfce4 - a small desktop environment

Maintainers

Mostapha El Sabah Piopi

About

A Dockerized light-weight desktop environment accessible from the browser with NoVNC. Firefox Browser included.

License:MIT License


Languages

Language:Dockerfile 79.5%Language:Shell 20.5%