Introducing PowerCLI Docker Image

Thanks to the official releases of PowerShell 6 Core and PowerCLI 10.0, you can easily run PowerCLI in a Docker Container. Some days ago, the PowerCLICore Docker image has been updated with all the latest packages. In this post, I will describe how to run PowerCLI in a Docker Container on Windows 10.

Let’s start by pulling the image from Docker Hub:

I can confirm that the PowerCLI image exists:

Ok, now I can create a Container based on this image:

The container is up and running. I can check the OS version:

The container is based on VMware Photon OS:

I can confirm the PowerCLI module version:

Now you can connect to your Vcenter.

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 241 Articles
I work as a System Engineer, based in Switzerland with a primary focus on Microsoft technologies. I have 7 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers" and "Administering & Deploying SCCM" certified.