How to add a desktop environment via Docker
If your server doesn’t have a desktop environment, you can install one easily, in a “containerized” way.
- Install Docker if it’s not already installed (Install Docker).
- You can use one of these images, or any other you find:
- accetto/ubuntu-vnc-xfce-firefox-g3 (GitHub)
docker run -d -p 80:6901 -v /dev/shm:/dev/shm --name ubuntudesktop accetto/ubuntu-vnc-xfce-firefox-g3
- dorowu/ubuntu-desktop-lxde-vnc (GitHub)
docker run -d -p 80:80 -v /dev/shm:/dev/shm --name ubuntudesktop dorowu/ubuntu-desktop-lxde-vnc
- (ARM) neuroidss/ubuntu-xfce-vnc (GitHub)
docker run -d -p 80:6901 --user 0 neuroidss/ubuntu-xfce-vnc:latest
- accetto/ubuntu-vnc-xfce-firefox-g3 (GitHub)
- Then, go to:
http://<SERVER-PUBLIC-IP>/vnc.html
(accetto / neuroidss).http://<SERVER-PUBLIC-IP>
(dorowu).
If you have any suggestion, feel free to contact me via social media or email.
Latest tutorials and articles:
Featured content: