Run PowerShell in Windows Containers with Docker Desktop

In my last video, we explored how you can run multiple versions of PowerShell Core in Linux containers, using Docker Desktop.

PowerShell Core is the open source, cross-platform version of PowerShell, that started at version 6. Now, PowerShell Core is up to version 7.1.0, and conveniently runs on Mac, Linux, and Windows.

What if you have PowerShell scripts that require a Windows-specific version of PowerShell? The Windows-exclusive edition of PowerShell is known as PowerShell Desktop Edition. You can run PowerShell Desktop Edition inside Windows containers, however PowerShell Desktop Edition cannot run on any non-Windows operating system.

In this video, we’ll take a look at how to prepare your system to run Windows containers, download base container images for Windows Server 2019, and run PowerShell Desktop Edition inside Windows containers.

Please follow me on Twitter, and subscribe to my YouTube channel for future updates!