external help file: containers-toolkit-help.xml Module Name: containers-toolkit online version: schema: 2.0.0
Downloads and installs nerdctl.
Install-Nerdctl [[-Version] <String>] [[-InstallPath] <String>] [[-DownloadPath] <String>]
[[-Dependencies] <String[]>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
Downloads Containerd files from nerdctl releases and installs it the provided path. Once installation is complete, the downloaded files are deleted to save on disk space.
Installs nerdctl using default version and path.
PS C:\> Install-Nerdctl
Installs nerdctl version 1.6.1 at 'C:\Test\Path\nerdctl' and adds 'C:\Test\Path\nerdctl' in the environment path.
PS C:\> Install-Nerdctl -Version "1.6.1" -InstallPath 'C:\Test\Path\nerdctl'
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
Specify the nerdctl dependencies (All, Containerd, Buildkit, WinCNIPlugin) to install. Input type: array
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to download files. Defaults to user's Downloads folder
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: $HOME\Downloads
Accept pipeline input: False
Accept wildcard characters: False
Installs nerdctl (and its dependecies if specified) even if the tool 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
Path to install nerdctl. Defaults to $ENV:ProramFiles\nerdctl
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: $ENV:ProramFiles\nerdctl`
Accept pipeline input: False
Accept wildcard characters: False
nerdctl version to install. Defaults to latest version.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: Latest version
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