| external help file | psdocker-help.xml |
|---|---|
| Module Name | psdocker |
| online version | https://abbgrade.github.io/psdocker/docs/Get-DockerVersion.html |
| schema | 2.0.0 |
Get Docker client and server version information.
Get-DockerVersion [[-Timeout] <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Returns version details for the Docker client and server, including engine information. Wraps the Docker CLI `version` command.
# Prerequisite: Docker CLI is installed and the Docker daemon is running.
$version = Get-DockerVersion
$version.Server | Format-List
Gets client and server version details, then displays the server information. Captured output from Docker Engine 29.9.2: Version : 29.9.2 Goversion : go1.26.10 APIversion : 1.56 Gitcommit : 0367cbe Built : 2026-10-20T18:45:02.000000000+00:00 OSArch : linux/amd64 Engine : @{Version=29.9.2; Goversion=go1.26.10; Experimental=false; APIversion=1.56; Gitcommit=0367cbe; Built=Tue Oct 20 19:45:02 2026; OSArch=linux/amd64}
Specifies the number of seconds to wait for the command to finish.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://abbgrade.github.io/psdocker/docs/Get-DockerVersion.html
https://docs.docker.com/engine/reference/commandline/version/