Patrick

Linux Desktop in Docker Running in 60 Seconds

Patrick

Administrator
Staff member
Dec 21, 2010
11,962
4,921
113
Patrick submitted a new resource:

Linux Desktop in Docker Running in 60 Seconds - If you ever need a temporary Linux Desktop, use this

About twice a day I get some form of SPAM that asks me to go to a site. I make it a rule not to follow those links from my PCs, ever.

What happens if you want to open a suspicious link? Or let's say you want a quick Linux GUI in your data center but do not want to install a VM. Perhaps you do not have a provisioning template.

Step 1: Fire up the docker image:
Code:
docker run -it --rm -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=CHANGEME! dorowu/ubuntu-desktop-lxde-vnc
Change...
Read more about this resource...
 

Evan

Well-Known Member
Jan 6, 2016
3,122
522
113
Great use case ! So simple

But I would like to point out to people if they are using this for checking suspect sites if your emailed cut and paste into the docker, don't open your web mail from the docker image.
 

eva2000

Active Member
Apr 15, 2013
242
48
28
Brisbane, Australia
centminmod.com
I modified the lines to add a prompt for desired password and named the docker container = desktop for easier management

Code:
read -ep "enter desired password for VNC on port 5900: " pass; docker run -it --rm --name desktop -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=$pass dorowu/ubuntu-desktop-lxde-vnc
 
  • Like
Reactions: T_Minus