2021 Annual Petri Reader Survey - We want to know what's important to you! 2021 Annual Petri Reader Survey - We want to know what's important to you!
Hyper-V|Windows Server|Windows Server 2016

Bash for Windows Comes to Windows Server 2016

Microsoft announces that the Windows Subsystem for Linux (WSL) is coming to Windows Server 2016 at Build 2017.



Bash is a popular Unix shell for managing Linux. Microsoft introduced Bash as a native component in Windows 10 Anniversary Update. WSL allows you to run standard Bash commands, use a Linux-compatible file system to access fixed Windows storage, run Bash shell scripts, run Linux command-line apps, and install additional Linux tools.

Bash on Windows does not require a Linux VM and it runs Ubuntu user-mode binaries from Canonical. It runs Bash commands found in a native Ubuntu environment. Despite Microsoft bringing Bash to Windows Server 2016 soon, it is still a beta in Windows 10. This means that while most commands and tools work, there are some that do not. There are others that do not work quite as they should.

Launch Linux commands from within Windows 10 Creators update (Image Credit: Microsoft)
Launch Linux Commands From Within Windows 10 Creators Update (Image Credit: Microsoft)

Native Linux Containers in Windows Server

Microsoft is working on support for native Linux containers in Windows Server 2016. WSL will allow administrators and developers to manage Linux containers that are running on Windows Server 2016 using standard Linux tools. Hyper-V Containers will be used to provide support for Linux on Windows Server 2016 and you will be able to use your Linux kernel of choice.

WSL Updated in Creators Update

The recent Creators Update for Windows 10 introduced some new features to WSL, which will also make their way to Windows Server 2016. The Anniversary Update supports Ubuntu 14.04, while the Creators Update supports version 16.04. If you upgraded from the Anniversary Update to the Creators Update, you will need to manually update your Ubuntu instance.

Microsoft claims that most mainstream developer tools now work as expected, including core tools, languages, platforms like Ruby and Python, and services like sshd and Apache. Additionally, the Creators Update adds support for launching Windows apps and tools from Bash.


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (0)

Leave a Reply

IT consultant, Contributing Editor @PetriFeed, and trainer @Pluralsight. All about Microsoft, Office 365, Azure, and Windows Server.

Register for the Hybrid Identity Protection (HIP) Europe Conference!

Hybrid Identity Protection (HIP) Europe 2021 - Virtual Conference

Mobile workforces, cloud applications, and digitalization are changing every aspect of the modern enterprise. And with radical transformation come new business risks. Hybrid Identity Protection (HIP) is the premier educational forum for identity-centric practitioners. At the inaugural HIP Europe, join your local IAM experts and Microsoft MVPs to learn all the latest from the Hybrid Identity world.