Hi Carlos , - if i understood , you keep Windows for several special programs that are important to you : Again , if i got the drift : perhaps one can put those special windows programs into a windows "Docker" whose Image can be run on Linux . & , again , if i got the drift : "Docker" is somewhat like a minature Virtual Machine , but compact , and using far less of ones 'puter's resources . - could this be handy , to preserve programs in their own 'container' where they are impervious to library-drift , and other old-age-program related problems ?? ........ regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 20, 2018 at 8:29 AM, ellanios82 <ellanios82@gmail.com> wrote:
Again , if i got the drift : perhaps one can put those special windows programs into a windows "Docker"
whose Image can be run on Linux .
If only it worked that way. You can run Linux Docker images on Linux and Windows Docker images on Windows. If you have Windows 10 and have the Ubuntu-provided Linux sub-system installed, you can run Linux images on Windows (which was MS's motivation in getting Linux to run on Windows, I guess). But until Microsoft make a similar environment for Windows that runs on Linux, you cannot run Windows images on Linux. I would love to be corrected. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 20 March 2018 at 08:46, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
If only it worked that way. You can run Linux Docker images on Linux and Windows Docker images on Windows. If you have Windows 10 and have the Ubuntu-provided Linux sub-system installed, you can run Linux images on Windows (which was MS's motivation in getting Linux to run on Windows, I guess). But until Microsoft make a similar environment for Windows that runs on Linux, you cannot run Windows images on Linux.
I would love to be corrected.
I don't know (or care) enough to correct you on the Windows-in-Linux part of your email; I have no need for such things. But I would like to point out that there are alternatives to the "Ubuntu-provided" Linux subsystem There is both openSUSE Leap and SUSE Linux Enterprise subsystems also available in the Windows appstore for example.. Regards, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 20, 2018 at 11:14 AM, Richard Brown <RBrownCCB@opensuse.org> wrote:
I don't know (or care) enough to correct you on the Windows-in-Linux part of your email; I have no need for such things.
But I would like to point out that there are alternatives to the "Ubuntu-provided" Linux subsystem
There is both openSUSE Leap and SUSE Linux Enterprise subsystems also available in the Windows appstore for example..
Indeed. And these run in the Linux sub-system of Windows 10, which MS got from Ubuntu. This does not provide Ubuntu in Windows. It provides the environment where a Linux distro, such as character-based openSUSE or SUSE Linux Enterprise can run. See https://docs.microsoft.com/en-us/windows/wsl/about for details. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 20 Mar 2018 08:46:36 +0100 Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I would love to be corrected.
OK then. ;-)
If only it worked that way. You can run Linux Docker images on Linux and Windows Docker images on Windows.
I think you meant to say: You *can't* run Linux Docker images on Linux and Windows Docker images on Windows.
If you have Windows 10 and have the Ubuntu-provided Linux sub-system installed,
The subsystem is part of Windows. It emulates a Linux kernel. It is not Ubuntu-provided; it is Microsoft-provided.
you can run Linux images on Windows (which was MS's motivation in getting Linux to run on Windows, I guess).
Well, yes, but not directly, not really. The Windows Subsystem for Linux is merely the latest version of a feature that has been present since Windows NT launched in 1993: https://en.wikipedia.org/wiki/Windows_Services_for_UNIX It's always been there. The NT kernel is nothing at all like Windows 2/3/9x. It is distantly related to OS/2 and DEC OpenVMS. It has always offered multiple "personalities" for running different apps. At launch, there were 3: Win32, OS/2 (for text-mode OS/2 binaries) and POSIX (for Unix source to be recompiled). The POSIX/Unix environment has now been updated to emulate Linux instead, as commercial Unix is all but dead and gone these days. IBM AIX and HP-UX are about all that is left.
But until Microsoft make a similar environment for Windows that runs on Linux, you cannot run Windows images on Linux.
https://www.winehq.org/ ;-) -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 20, 2018 at 3:15 PM, Liam Proven <lproven@suse.com> wrote:
But until Microsoft make a similar environment for Windows that runs on Linux, you cannot run Windows images on Linux.
We build our Windows software with GNU cross compilers on Linux. It works great. The main issue we have is when it comes to testing. Then we use a real Windows machine. It would be great if we could test our Windows software in a container on Linux where the test can more easily be started and the results evaluated. A VM like Virtual Box is too cumbersome. Of course, given the very nature of Windows, perhaps a container would not really help. But all this is a different topic... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/20/2018 03:21 PM, Roger Oberholtzer wrote:
On Tue, Mar 20, 2018 at 3:15 PM, Liam Proven <lproven@suse.com> wrote:
We build our Windows software with GNU cross compilers on Linux. It works great. The main issue we have is when it comes to testing. Then we use a real Windows machine. It would be great if we could test our Windows software in a container on Linux where the test can more easily be started and the results evaluated. A VM like Virtual Box is too cumbersome. Of course, given the very nature of Windows, perhaps a container would not really help.
Never tried, but if your program runs in Wine, then I think nothing prevents you from running it in Wine inside a docker image, right? ;-) Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Mar 21, 2018 at 6:59 PM, Bernhard Voelker <mail@bernhard-voelker.de> wrote:
Never tried, but if your program runs in Wine, then I think nothing prevents you from running it in Wine inside a docker image, right? ;-)
Most of them would run in wine. We have been hesitant to go that route because it can be difficult to evaluate errors. What we have considered is that it must be unlikely that a program run in wine would give a false positive that it performs as expected. Then we only need to follow up on the failures on a real machine. So much to do. So little time! I should add that the Windows software built in OBS is extremely handy for our work. I don't mean just the compilers and such. I mean all the libraries and tool kits. Installing them on Linux makes our cross compilation environment complete. The few missing ones that we use I have added to OBS in my own project. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 20 Mar 2018 09:29:58 +0200 ellanios82 <ellanios82@gmail.com> wrote:
Again , if i got the drift : perhaps one can put those special windows programs into a windows "Docker"
whose Image can be run on Linux .
No. Containers are not VMs. VMs are not containers. You cannot run Windows containers on Linux. There is some limited support for running Linux apps on Windows, but it is not yet complete or in the server version, and only Windows Server can run Docker containers. So, no, currently, you can't run Linux containers on Windows. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 20, 2018 at 3:06 PM, Liam Proven <lproven@suse.com> wrote:
So, no, currently, you can't run Linux containers on Windows.
But MS are actively working with Docker to make this happen. No one is working to make Windows containers run on Linux (that I am aware of). While I agree that it is perhaps not interesting, it will surely provide an advantage to Windows in the container world when it can run Windows and/or Linux containers. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 20 Mar 2018 15:06, Liam Proven wrote:
On Tue, 20 Mar 2018 09:29:58 +0200 ellanios82 wrote:
Again , if i got the drift : perhaps one can put those special windows programs into a windows "Docker"
whose Image can be run on Linux .
No. Containers are not VMs. VMs are not containers.
You cannot run Windows containers on Linux. There is some limited support for running Linux apps on Windows, but it is not yet complete or in the server version, and only Windows Server can run Docker containers.
So, no, currently, you can't run Linux containers on Windows.
Eh? The deciding factor on the Windows side is the ability to run Microsoft Hypervisor. Windows 10 Professional / Enterprise / Server 2016 can do that, and thus can run docker (limited functionality on the Server edition, b/c wsl not complete yet, planned for Q2) My Workstation @work runs W10 Pro and docker with the openSUSE Leap (42.3 ?) wsl. Nice combo, lets me do nearly all my Linux work, what will not work is a full Desktop Environment, that still needs a VM. - Yamaban.
On Tue, 20 Mar 2018 18:53:35 +0100 (CET) Yamaban <foerster@lisas.de> wrote:
Eh? The deciding factor on the Windows side is the ability to run Microsoft Hypervisor. Windows 10 Professional / Enterprise / Server 2016 can do that, and thus can run docker (limited functionality on the Server edition, b/c wsl not complete yet, planned for Q2)
My Workstation @work runs W10 Pro and docker with the openSUSE Leap (42.3 ?) wsl. Nice combo, lets me do nearly all my Linux work, what will not work is a full Desktop Environment, that still needs a VM.
Really? You have Docker running on SUSE on WSL? I didn't think that was available yet. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 20 Mar 2018 19:08, Liam Proven wrote:
On Tue, 20 Mar 2018 18:53:35 +0100 (CET) Yamaban wrote:
Eh? The deciding factor on the Windows side is the ability to run Microsoft Hypervisor. Windows 10 Professional / Enterprise / Server 2016 can do that, and thus can run docker (limited functionality on the Server edition, b/c wsl not complete yet, planned for Q2)
My Workstation @work runs W10 Pro and docker with the openSUSE Leap (42.3 ?) wsl. Nice combo, lets me do nearly all my Linux work, what will not work is a full Desktop Environment, that still needs a VM.
Really? You have Docker running on SUSE on WSL? I didn't think that was available yet.
Easiest way is to install Ubuntu from the Store, then install openSUSE (from the Store) the change your default Linux to openSUSE (aunt "google" helps), then you can uninstall Ubuntu. if you do not like it, after that use openSUSE like you would have used Ubuntu e.g. "wsl bash -c" from the Windows CMD or Powershell prompt as you need / want. Why install Ubuntu first? Because there are some bugs in the internal wsl installer, that can be avoided if Ubuntu is installed first. Once its installed its OK without Ubuntu. Most of these bugs should be gone with the big spring update. Docker may be sensitiv about the Linux you have installed, don't know for sure, as I still have Ubuntu also on the machine. But, before you try to install Docker, get Hypervisor up and running (try to make a VM and start that, to ensure full working order of HV) Getting Docker to work without a stream of complaints is not easy. Hint: get the Spring update first, that spares the ulcers. - Yamaban -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Bernhard Voelker
-
ellanios82
-
Liam Proven
-
Richard Brown
-
Roger Oberholtzer
-
Yamaban