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

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube