1

I am running docker containers with different distributions of linux ubuntu and centos. I am using docker for windows(it is running an image in virtualbox with docker linux). I cant find a way to run the gui of ubuntu. How can I run the GUI. I am running with these:

docker run -it -v /var/run/docker.sock:/var/run/docker.sock ubuntu:latest sh -c "apt-get update ; apt-get install docker.io -y ; bash"

docker run -it -v /var/run/docker.sock:/var/run/docker.sock centos:latest sh -c "yum update ; yum install docker.io -y ; bash"
1

I'm a noob at Linux, but try pressing the super (usually a Windows logo) key, then type docker and press enter (You have probably already tried that though)

  • :) I need to start the graphical user interface of the Ubuntu which is perfectly running in a docker container on other host linux – strash Jul 7 '17 at 22:13
  • I think you can try CTRL+ALT+F2, F3 or F4 to display command prompt, and F7 for Ubuntu GUI. – l'Aiguille Du Midi Jul 7 '17 at 22:15

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.