Serdar Yegulalp
Senior Writer

Coming soon to PowerShell: Docker controls, courtesy of Microsoft

news analysis
Apr 28, 20162 mins

Though still in early alpha, Microsoft's project to add native Docker commands to PowerShell is available for testing

Microsoft is hard at work making Docker a first-class citizen on Windows. It has already integrated Docker more closely with Windows’ internals and made Docker’s CLI run well. Now, the company is providing a first, early peek at a PowerShell module for the Docker Engine on Windows.

The project follows guidelines laid down by the Docker Remote API and uses the Docker Engine REST interface to execute commands. In other words, there’s no magic or unorthodox extension of Docker; it interfaces with the Docker Engine in precisely the same manner as the native client.

To that end, the project can run either as a complement to or a replacement for the existing Docker client. Microsoft ported the client to Windows using Docker’s source code, so its functionally identical to that of its Linux counterpart. The PowerShell client, then, will appeal to existing PowerShell pros who want to control Docker instance with as little disruption as possible to their PowerShell-centric workflow.

Like the conventional Docker CLI, the PowerShell Docker module controls both local and remote instances of Docker. The requirements for the PowerShell module state it will “[follow] appropriate authentication and security mechanisms (i.e. TLS),” so in theory, it won’t be any less secure or less compatible.

The project is available under the MIT license, so it can be freely reworked or even incorporated into commercial projects.

Serdar Yegulalp

Serdar Yegulalp is a senior writer at InfoWorld. A veteran technology journalist, Serdar has been writing about computers, operating systems, databases, programming, and other information technology topics for 30 years. Before joining InfoWorld in 2013, Serdar wrote for Windows Magazine, InformationWeek, Byte, and a slew of other publications. At InfoWorld, Serdar has covered software development, devops, containerization, machine learning, and artificial intelligence, winning several B2B journalism awards including a 2024 Neal Award and a 2025 Azbee Award for best instructional content and best how-to article, respectively. He currently focuses on software development tools and technologies and major programming languages including Python, Rust, Go, Zig, and Wasm. Tune into his weekly Dev with Serdar videos for programming tips and techniques and close looks at programming libraries and tools.

More from this author