LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2016, 04:31 AM   #1
blenderfox
LQ Newbie
 
Registered: Apr 2013
Location: London, UK
Distribution: Debian, Ubuntu, Linux Mint, Fedora
Posts: 24

Rep: Reputation: Disabled
Docker: Desktop Environment


Hi all,

I'm trying to setup a docker environment to experiment with another distro (Ubuntu in this case). Is it possible to do a full-blown desktop environment in Docker - as in the full launcher, etc, rather than just individual apps showing up the desktop as when they are needed?

Is it also possible to tie a docker container to a local X terminal (e.g. accessible using CTRL+ALT+Fx)?
 
Old 04-27-2016, 10:04 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by blenderfox View Post
Hi all,

Is it possible to do a full-blown desktop environment in Docker
No.

Thank you.
Have a Good Day.
 
Old 04-27-2016, 10:15 AM   #3
blenderfox
LQ Newbie
 
Registered: Apr 2013
Location: London, UK
Distribution: Debian, Ubuntu, Linux Mint, Fedora
Posts: 24

Original Poster
Rep: Reputation: Disabled
Gee.... Thank you.
 
Old 04-27-2016, 10:28 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,612

Rep: Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366
Quote:
Is it also possible to tie a docker container to a local X terminal (e.g. accessible using CTRL+ALT+Fx)?
would be nice, to explain what do you really need:
you can start X outside of the docker (on the host) and start an X terminal from "inside" the docker in it.
And also you may try to start an X server just to serve apps inside docker, but that is not an easy task.
see for example here: http://stackoverflow.com/questions/1...cker-container
 
Old 04-27-2016, 10:34 AM   #5
blenderfox
LQ Newbie
 
Registered: Apr 2013
Location: London, UK
Distribution: Debian, Ubuntu, Linux Mint, Fedora
Posts: 24

Original Poster
Rep: Reputation: Disabled
These are various questions popping up as I'm learning the fundamentals. Sure you can start a container with the -ti switch to get a terminal within there. And yes you can redirect a container to use your current display using something like -e DISPLAY=$DISPLAY, but can I start up a container silently and point it to, say VT8 so CTRL+ALT+Fx will give me that?

Would really have liked to have been able to use docker as an alternative to a full blown VM, but it's not so much an issue.
 
Old 04-27-2016, 10:49 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,612

Rep: Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366Reputation: 4366
CTRL+ALT+Fx means - for me - something like a remote XDMCP desktop. At this moment I think it is not impossible, but probably not really easy. You need to install the full X environment into docker and run it. And start X on your host. http://x.cygwin.com/docs/ug/using-remote-session.html (just a starting point, check the links too).
 
Old 04-27-2016, 11:39 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Docker is not a virtualization remedy for desktop users.

The bottom line to your question is
if you have to ask, the answer is no.
Can it be done?
Maybe. Some day, never say 'never'.

Depeding on your experience level, some of these may, or may not be immediately beneficial:
http://www.linuxnix.com/what-is-a-docker/
https://forums.docker.com/
http://dischord.org/blog/2013/07/10/...-and-owncloud/
http://dischord.org/blog/2013/08/13/...ncloud-part-2/
https://scottlinux.com/2014/05/04/ho...debian-wheezy/
https://registry.hub.docker.com/_/mysql/
http://thenewstack.io/deploying-comp...r-cloud-maker/
http://stackoverflow.com/search?q=docker
http://www.eweek.com/security/docker...ncryption.html
http://www.eweek.com/virtualization/...t-service.html
http://www.eweek.com/virtualization/...spotlight.html
https://www.howtoforge.com/tutorial/...-introduction/
http://www.linuxjournal.com/content/...mer-containers
https://www.linux-toys.com/?p=411
http://www.eweek.com/cloud/docker-da...echnology.html
https://www.howtoforge.com/tutorial/...docker-images/
https://www.howtoforge.com/tutorial/...way-on-ubuntu/
https://www.howtoforge.com/tutorial/...al-way-part-3/
https://docs.docker.com/installation/ubuntulinux/

for up-to-the-minute "can docker do x" dialogs, I suggest the mailing list(s).
 
Old 04-27-2016, 01:02 PM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,875
Blog Entries: 2

Rep: Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319Reputation: 1319
Try others: http://www.gilesorr.com/wm/table.html
http://goo.gl/NqgqJx
 
Old 04-30-2016, 10:50 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Apparently, some one has done it using LXC

Good Luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual mode desktop/fullscreen type of desktop environment? jason41987 Linux - Software 6 09-01-2015 06:15 PM
LXer: Setup Nova-Docker driver && Openstack Kilo on Ubuntu 14.04 in devstack environment recoverable LXer Syndicated Linux News 0 04-28-2015 11:32 PM
LXer: Testing the most recent Nova-Docker driver on Ubuntu 14.04 in devstack environment recoverable LXer Syndicated Linux News 0 02-17-2015 09:33 PM
LXer: The MATE desktop brings back the power of a real desktop environment. LXer Syndicated Linux News 0 03-27-2012 08:20 AM
Litotas Desktop, a new Linux Desktop environment, work started Endarur Programming 3 03-12-2011 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration