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.



Sponsored Content

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

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.

Download this eBook!

External Sharing and Guest User Access in Microsoft 365 and Teams

his eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure. The eBook will also outline some of the major decision points across four general-purpose guest access policy scenarios for how an organization can set this up with standard licensing.

Download Now

Sponsored By