News

Native Hyper-V Containers in Windows 10 Will 'Ease Developer Pain'

Microsoft said it will add tooling to Hyper-V containers in Windows 10 that will allow developers to bypass complex VM machinations to support development activities. Coming PowerShell module for Docker is also aimed at devs.

Microsoft announced at the beginning of April that it would be building Hyper-V containers natively into Windows 10. That capabilitiy would be part of number other tool offerings coming in the updated OS, which includes the addition of a Linux Bash shell addition to Windows 10 as well as a PowerShell module for Docker.

Hyper-V containers need to be built into Windows 10 because of the current limitations that developers face. According to a description put forth by Microsoft, the common scenario now is that developers have to run virtual machines to support their development activities. However, if they add containers to that environment, then they sometimes get "problematic cross-machine" issues as a consequence. Containers are technologies that enable light operating system virtualization, or abstraction from hardware, to support applications running on the same host, so they're a good tool for developers.

The addition of native Hyper-V containers in Windows 10 "will be ending this pain for Windows developers," said Microsoft's announcement.

Although the Hyper-V containers capability will be coming to the Windows 10 client OS, it will enable server OS support capabilities for developers, per Microsoft's announcement. Here's how Microsoft described that nuance:

Since Hyper-V Containers utilize their own instance of the Windows kernel, your container is truly a server container all the way down the kernel. Plus, with the flexibility of Windows container runtimes containers built on Windows 10 can be run on Windows Server 2016 as either Windows Server Containers or Hyper-V Containers.

In related news, Microsoft will be deprecating its current PowerShell container module that's seen in its Windows Server 2016 preview builds for a new "PowerShell module for Docker." Microsoft said it will be released as open source code.

Microsoft said that the reason for this switch is that developers currently cannot "see" Docker containers when using PowerShell. The new module will give developers a choice of using "the Docker CLI, PowerShell or both."

Microsoft's announcement didn't explain this point in great detail, but there have been differences between container handling between PowerShell and Docker, as explained in this Microsoft FAQ. Microsoft tried to address that issue by making the two management interfaces only see the containers that they created.

"Our short term decision was that management interfaces (in this case Docker and PowerShell) only see containers they created -- you create a container with Docker and PowerShell doesn't see it, you create it with PowerShell and Docker doesn't see it," the FAQ explained.

And that approach apparently wasn't optimal for developers.

As with Hyper-V containers for Windows 10, it's not clear when the new PowerShell module for Docker will roll out. It perhaps will be timed with a future Windows Server 2016 preview release.

About the Author

Kurt Mackie is senior news producer for 1105 Media's Converge360 group.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube