external help file: Containers-Toolkit-help.xml Module Name: Containers-Toolkit online version: schema: 2.0.0
List container tools (Containerd, BuildKit, and nerdctl) install status.
Show-ContainerTools [-Latest] [-ToolName <String[]>] [<CommonParameters>]
List container tools (Containerd, BuildKit, nerdctl) and shows if the tool is installed, the installed version and the latest available version.
PS C:\> Show-ContainerTools -Latest
Tool Installed Version LatestVersion
------ ------ ------ ------
containerd True v1.7.7 v1.7.7
buildkit False - v0.12.2
nerdctl True unknown v1.6.1Show latest release version
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseDisplays the version of a specified tool. If no tool is specified, it returns the versions of containerd, buildkit, and nerdctl.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Null
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.
Returns an array of PSCustomObject,
| Name | Type | Description |
|---|---|---|
| Tool | String | Name of the container tool. Either Containerd, BuildKit, or nerdctl. |
| Installed | Boolean | Specifies whether the tool is installed or not. |
| Version | String | Installed version. |
| LatestVersion | String | Latest available version |
| Daemon | String | Tools daemon, e.g., containerd and buildkitd |
| Daemon Status | String | Specifies the status of the daemon: running, stopped, unregistered |
- This information may not be accurate if a tool's paths has not been added to environment path.
- A daemon's status could be unavailable if the service has not been registered or started.
- The latest version is fetched from the GitHub releases page of the tool.