external help file: containers-toolkit-help.xml Module Name: containers-toolkit online version: schema: 2.0.0
Downloads and installs container tool (Containerd, BuildKit, and nerdctl).
Install-ContainerTools [[-ContainerDVersion] <String>] [[-BuildKitVersion] <String>]
[[-NerdCTLVersion] <String>] [[-InstallPath] <String>] [[-DownloadPath] <String>] [-RegisterServices] [-OSArchitecture <string>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
Downloads container tool (Containerd, BuildKit, and nerdctl) asynchronously and installs them at the specified location.
Install the latest versions of Containerd, BuildKit, and nerdctl at the default path
PS C:\> Install-ContainerTools
Download Containerd version 1.6.8 and default nerdctl and BuildKit versions
PS C:\> Install-ContainerTools -ContainerDVersion 1.6.8
Register and Start Containerd and Buildkitd services and set up NAT network
PS C:\> Install-ContainerTools -RegisterServices
BuildKit version to install
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: Latest version
Accept pipeline input: False
Accept wildcard characters: False
Prompts for confirmation before running the cmdlet. For more information, see the following articles:
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Containerd version to install
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: Latest version
Accept pipeline input: False
Accept wildcard characters: False
Path to download files. Defaults to user's Downloads folder, $HOME\Downloads
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: $HOME\Downloads
Accept pipeline input: False
Accept wildcard characters: False
Force install the tools even if they already exists at the specified path.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Register and Start Containerd and Buildkitd services and set up NAT network.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Path to Install files. Defaults to Program Files, $Env:ProgramFiles
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: $Env:ProgramFiles
Accept pipeline input: False
Accept wildcard characters: False
nerdctl version to install
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Latest version
Accept pipeline input: False
Accept wildcard characters: False
OS architecture to download files for.
Default is $env:PROCESSOR_ARCHITECTURE
Type: String
Parameter Sets: Setup
Aliases:
Required: False
Position: Named
Default value: $env:PROCESSOR_ARCHITECTURE
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Type: SwitchParameter
Parameter Sets: Setup
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False