Microsoft's embracing of Linux...
would never have happened if Ballmer was still
1 CEO: Chief Executive Officer, CCTO: Chief Chair Throwing Offender
Container wunderkind Docker has released a preview of Docker Desktop for Windows Subsystem for Linux 2. This peek at Docker Desktop 2 is based on the work Microsoft has done to make Windows Subsystem for Linux a full virtual machine (VM) with its own complete Linux kernel, instead of redirecting system calls as is done in the …
I watched him do it. That's back when I attended MS Conferences. It's also back when I believed in the direction they were moving in. ".Net" initiative was my "Wake Up" moment. I stopped going. to their conferences. WRONG direction.
And thinking of WRONG direction, why is _THIS_ all 2D FLATTY FLATSO McFLATFACE like the OTHER Win-10-nic CRAP?
Microshaft ONLY excels at "getting it wrong" these days...
Context: This peek at Docker Desktop 2 is based on the work Microsoft has done to make Windows Subsystem for Linux a full virtual machine (VM) with its own complete Linux kernel, instead of redirecting system calls as is done in the first version of WSL.
This means that the docker daemon can run in WSL rather than in a separate Hyper-V VM.
This means that the docker daemon can run in WSL's Hyper-V VM rather than its own.
WSL, at least the currently shipping v1 of it, doesn’t run in Hyper-V. It is like Wine, except the other way round. I have it running in Hyper-V Windows machines that don’t support nested virtualisation, and on a Windows Machine that has Hyper-V disabled so I can run VMWare instead.
I've said it before - why all this insistence on being able to mix conflicting operating systems. Just makes it a nightmare to find the relevant documentation. MS need to have some confidence in their own products rather than just confusing everyone.
Windows became dominant because it was easy to use rather than being the best. Now, they're making it more difficult to use but not making it any better - go figure.
Its driven out of necessity. If you are a developer working on cloudy bits, you're going to spend a lot of time, building, running, debugging images. If that's what you're into, you will already be using a Linux or Mac as your dev machine, because that makes this all very easy.
However, if you're not really in to it, and you've just been told that you have to do cloudy stuff, you're probably not running Linux on your desktop. Its probably windows, and almost all of the tutorials, instructions and resources no longer work.
So this is MS saying "Hey, you don't need to switch to Linux/Mac, you can still run all this stuff under Windows, almost the same as you would under Linux".
(I'd recommend switching to Linux tbh)
Microsoft's goal of making Windows 10 an excellent solution for container-oriented development ...and making a round hole an excellent receptacle for square pegs.
I guess it's all about corporate standards. Out of the last 10 development projects I've worked on, 8 used Windows, 1 Ubuntu and 1 Mac. I think this is mostly because of the cost of supporting a managed Windows platform for business users, and not wanting to duplicate the effort just for developers.
It wasn't ever easier to use. It just happened to be there. People learnt it and then were reluctant to learn something else. Its only USP was backwards compatibility. Now MS are killing that in a move to copy Apple's app store, it will die for lack of an any good reason to live.
Ony inertia and the dinosaur effect (news of damage hasn't reached the 'brain') keeps it going.
[Windows] wasn't ever easier to use
Actualy it was, EASIER than MS-DOS. But it *NEVER* *REALLY* *GOT* *POPULAR* untl Windows 3.0. Why? [history lesson starts here] BECAUSE, Windows 3.0 was 3D SKEUOMORPHIC!!!
Now, Micro-shaft is BACK on the 2D FLATTY McFLATFACE FLATSO look, which is _COMPLETELY_ _BASS_ _ACKWARDS_ from THE SUCCESS of Windows 3.0!!!
Its only USP was backwards compatibility. Now MS are killing that in a move to copy Apple's app store, it will die for lack of an any good reason to live.
Well I'd say that is partly true, at least for Win-10-nic. 7 is pretty usable, but I've grown used to a Mate desktop on either Linux or FreeBSD.
What keeps people using Windows is WINDOWS APPLICATIONS. The OS itself is SUCKING a LOT thse days. If it weren't for APPLICATIONS, *NOBODY* would want it!!!
[so what we need are major application developers targeting POSIX operating systems directly, or open source equivalents for all of the remaining things, before MS's marketing collapses onto itself like a star turning into a black hole]
Run Docker on a real GNU/Linux instance and avoid all this bodged together MS bullshit. Seriously, it's not difficult.
"Oh, but my desktop is Windows"
Poor you. Run GNU/Linux in a VM (VirtualBox is good, other options are available).
"Oh, but I don't understand Linux. It's so hard."
Then you are an idiot for deploying on to infrastructure you do not fully understand. And it's not hard. Different, but not hard.
The more MS gets its claws into Docker, the worse it will become.
"The solution suggested by Docker engineer Simon Ferquel is either to use a workaround using the DOCKER_HOST environment variable, or to use docker-compose from within WSL. This second solution is easy when using Docker with Visual Studio Code remoting, since you can have a terminal open in WSL within the editor. You can also take advantage of the high performance bind mounting in WSL 2 to access source files on the Windows side, or keep the source files on the Linux side."
Clearly, this is Not For Me. Ars longa, vita brevis.
So, does it mean that the "Linux Containers on Windows" are to be killed or are we going to have three methods of running Linux containers on Windows Docker now:
- The "classic" one, mentioned in the article that uses Hyper-V hosted "Moby VM" for all the Linux containers
- LCOW - "Linux Containers on Windows": each Linux container lives inside its own, minimal, lightweight Hyper-V VM
- The new, WSL2-based one
Biting the hand that feeds IT © 1998–2019