Sign inSign up

atrobertoflores/daas

By atrobertoflores

Updated over 5 years ago

Desktop As A Service

Image
0

543

atrobertoflores/daas repository overview

Desktop As A Service (DaaS) Container

This image is intended to be used for displaying desktop applications in a web environment.

Image Contents

  • tigervnc - TigerVNC is a high-speed version of VNC based on the RealVNC 4 and X.org code bases
  • noNVC - A HTML5 canvas vnc viewer
  • xfce4 - Xfce is a lightweight desktop environment for UNIX-like operating systems
Variables

You can specify the following variables:

  • VNC_PW=<vnc_password> (ubuntu)
How-to use it

Run:

$ docker run -d --name daas --restart always -u `id -u`:`id -g` -p 5901:5901 -p 6901:6901 atrobertoflores/daas

For sys admin capabilities (do not use --privileged):

$ docker run -d --name daas --cap-add=SYS_ADMIN -p 5901:5901 -p 6901:6901 atrobertoflores/daas

If VPN/Wireguard is required (do not use --privileged):

$ docker run -d --name daas --cap-add=NET_ADMIN --cap-add=SYS_MODULE --sysctl="net.ipv4.conf.all.src_valid_mark=1" -p 5901:5901 -p 6901:6901 atrobertoflores/daas

Open a browser and see the demo at http://<server>:6901 with password "ubuntu"

Note: You can also bind container port 5901 and use a vnc application to connect.

Improving security:

Change ubuntu password:

$ passwd

Remove sudo usage without password:

$ sudo rm /etc/sudoers.d/ubuntu

Change vnc password:

$ vncpasswd

On DockerHub / GitHub


Thanks


This is based on the container by https://github.com/accetto > https://github.com/accetto/ubuntu-vnc-xfce.

Tag summary

Content type

Image

Digest

Size

243.7 MB

Last updated

over 5 years ago

docker pull atrobertoflores/daas