Docker Command-Line Completion For The Windows Docker PowerShell Module

In this article, I’ll show you how to Install a Docker Command-Line completion tool for the Windows Docker PowerShell Module.

Using an AutoComplete tool for Docker can save time and effort when using Docker.

The tool called Posh-Docker and you can view the Github project Here.

To Install the tool, I’ll use PowerShell 5+ package management utility using the cmdlet below:

Install-Module posh-docker

To use the tool, I’ll need to Import the module using

Import-Module posh-powershell

(If you don’t want to load it every time add the Import cmdlet to the PowerShell Profile)

To use the module simply use the base Docker command (docker stop + tab)

For other articles In the Docker series visit:


Posted

in

by