external help file: Containers-Toolkit-help.xml Module Name: Containers-Toolkit online version: schema: 2.0.0
Create a default Containerd configuration file called config.toml at the Containerd path and registers the Containerd service.
Register-ContainerdService [[-ContainerdPath] <String>] [-Start] [<CommonParameters>]
Create a default Containerd configuration file called config.toml at the Containerd path and registers the Containerd service.
Creates the config.toml file at the default Containerd path and registers the Containerd service.
PS C:\> Register-ContainerdServiceCreates the config.toml file at the provided Containerd path and registers the Containerd service. If Containerd does not exist at the provided path, execution fails with an error.
PS C:\> Register-ContainerdService -ContainerdPath 'C:\Test\Path\containerd'Path where Containerd is installed.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: $Env:ProgramFiles\containerd
Accept pipeline input: False
Accept wildcard characters: FalseBypass confirmation to register containerd service
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseSpecify to start Containerd service after registration is complete
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
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.