LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 05-03-2017, 07:25 AM   #1
simosx
Member
 
Registered: Jul 2005
Posts: 66

Rep: Reputation: 11
Talking How to run Wine (graphics-accelerated) in an LXD container on Ubuntu


I recently wrote an article on how to run (graphics-accelerated) GUI apps in an LXD container,
https://blog.simos.info/how-to-run-w...ner-on-ubuntu/

It is my first post on this subject and it talks about running Wine and some of those Windows games.
Obviously, you can run other apps. The immediate benefit with Wine, is that you do not end up installing all those dependency packages, even 32-bit packages.

I do not show how to deal with sound, or how to make a shortcut; these for a new article.

If anyone is interested in trying these, I am happy to help out here with any questions!
 
Old 05-04-2017, 01:08 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,848

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
sorry guy, but wine itself is more or less a VM or a container, so there is no real reason to put it into another one. But probably I missed something.
 
Old 05-04-2017, 01:19 AM   #3
simosx
Member
 
Registered: Jul 2005
Posts: 66

Original Poster
Rep: Reputation: 11
Talking

Quote:
Originally Posted by pan64 View Post
sorry guy, but wine itself is more or less a VM or a container, so there is no real reason to put it into another one. But probably I missed something.
I actually wrote about the immediate benefit:

Quote:
It is my first post on this subject and it talks about running Wine and some of those Windows games.
Obviously, you can run other apps. The immediate benefit with Wine, is that you do not end up installing all those dependency packages, even 32-bit packages.
 
Old 05-04-2017, 01:32 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,848

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
?
You must install all those dependency packages, because wine will not start without them. Just in that case you will install it into the container...
 
Old 05-04-2017, 10:18 AM   #5
simosx
Member
 
Registered: Jul 2005
Posts: 66

Original Poster
Rep: Reputation: 11
Thumbs up

Quote:
Originally Posted by pan64 View Post
?
You must install all those dependency packages, because wine will not start without them. Just in that case you will install it into the container...
Any dependency that is required, gets installed.

The importance is that all those packages are installed inside a container. When you are done playing those Windows or AndroidEmulator games,
you can simply
Code:
lxc stop wine-games
lxc delete wine-games
and your computer is not affected at all, the container with Wine is gone! No dependency packages have been installed in your desktop; they were all installed inside the container.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] x-applications-within-an-lxd-container Rosika Linux - Containers 9 04-21-2017 06:48 AM
x-applications-within-an-lxd-container Rosika Linux - Containers 1 04-17-2017 12:40 PM
LXer: Ubuntu is working on a new secure container hypervisor: LXD LXer Syndicated Linux News 0 11-04-2014 03:13 PM
Enable accelerated graphics in Ubuntu augu2000 Linux - Hardware 5 05-30-2007 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 03:14 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
Open Source Consulting | Domain Registration