LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Containers (https://www.linuxquestions.org/questions/linux-containers-122/)
-   -   How to run Wine (graphics-accelerated) in an LXD container on Ubuntu (https://www.linuxquestions.org/questions/linux-containers-122/how-to-run-wine-graphics-accelerated-in-an-lxd-container-on-ubuntu-4175605153/)

simosx 05-03-2017 07:25 AM

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!

pan64 05-04-2017 01:08 AM

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.

simosx 05-04-2017 01:19 AM

Quote:

Originally Posted by pan64 (Post 5705958)
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.

pan64 05-04-2017 01:32 AM

?
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...

simosx 05-04-2017 10:18 AM

Quote:

Originally Posted by pan64 (Post 5705966)
?
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.


All times are GMT -5. The time now is 02:35 PM.