This image is intended to be used for displaying desktop applications in a web environment.
You can specify the following variables:
VNC_PW=<vnc_password> (ubuntu)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.
Change ubuntu password:
$ passwd
Remove sudo usage without password:
$ sudo rm /etc/sudoers.d/ubuntu
Change vnc password:
$ vncpasswd
This is based on the container by https://github.com/accetto > https://github.com/accetto/ubuntu-vnc-xfce.
Content type
Image
Digest
Size
243.7 MB
Last updated
over 5 years ago
docker pull atrobertoflores/daas