Jump to content

is it possible to run Windows containers "docker" on Linux?

hi, guys, I was wondering if it's possible to create a Windows container on Linux/macOS
to use it to run a GUI windows app
and if it's not possible can I make WineHQ docker on Linux to install different runtimes and dependencies to run apps like AutoCAD/Revit with each one having its own docker
Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Ahmedelgohary94 said:

hi, guys, I was wondering if it's possible to create a Windows container on Linux/macOS

Not with Docker.

4 minutes ago, Ahmedelgohary94 said:

can I make WineHQ docker on Linux

Yes.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Sauron said:

Not with Docker.

Yes.

so for windows container what is the software used to run it on linux/macOS

 

for wine is there any tutorials for it?

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Ahmedelgohary94 said:

so for windows container what is the software used to run it on linux/macOS

 

for wine is there any tutorials for it?

Wouldn't Lutris be able to help you here?

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Ahmedelgohary94 said:

so for windows container what is the software used to run it on linux/macOS

You can't. You can do it in Windows using hyper-v (Docker actually supports that so you could use it there) but not on other platforms, because proprietary software. https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-10-Client

 

The closest thing you can get on Linux would be a KVM based virtual machine, which isn't the same as a container.

8 minutes ago, Ahmedelgohary94 said:

for wine is there any tutorials for it?

Google says yes. http://alesnosek.com/blog/2015/07/04/running-wine-within-docker/

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Sir0Tek said:

Wouldn't Lutris be able to help you here?

can i use it to run apps or just games?

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Sauron said:

You can't. You can do it in Windows using hyper-v (Docker actually supports that so you could use it there) but not on other platforms, because proprietary software. https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-10-Client

 

The closest thing you can get on Linux would be a KVM based virtual machine, which isn't the same as a container.

Google says yes. http://alesnosek.com/blog/2015/07/04/running-wine-within-docker/

which one do you recommend? KVM or WIne docker

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, Ahmedelgohary94 said:

can i use it to run apps or just games?

It's a frontend, it is not restricted to games only. It also allows to create starters which can be used for a docker.

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, Sir0Tek said:

It's a frontend, it is not restricted to games only. It also allows to create starters which can be used for a docker.

i'll give it a try for CAD apps "autocad/revit/robot/navisworks/staad pro connect"

Link to comment
Share on other sites

Link to post
Share on other sites

37 minutes ago, Ahmedelgohary94 said:

which one do you recommend? KVM or WIne docker

It depends, for running a CAD application I don't see why you'd need a container or a virtual machine - just use Wine normally. You can use a Wine versioning tool like Lutris to keep a specific version of wine if you want to but that's not strictly necessary.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Sauron said:

It depends, for running a CAD application I don't see why you'd need a container or a virtual machine - just use Wine normally. You can use a Wine versioning tool like Lutris to keep a specific version of wine if you want to but that's not strictly necessary.

last time i've tried to install Revit it failed

so i'll give lutris a try

Link to comment
Share on other sites

Link to post
Share on other sites

On 2/23/2020 at 5:01 PM, Ahmedelgohary94 said:

hi, guys, I was wondering if it's possible to create a Windows container on Linux/macOS

Docker isn't virtualization, it's just your host Linux Kernel with separate filesystem. And Docker isn't really needed to run a standalone application. If it's a Windows app then either use Wine and run  it under Linux or use Virtualbox to run a Windows system and run it there - although it can have performance limitations etc.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×