< Back

Install-ContainerImage

Mon Jan 13, 2020 5:05 am

NAME Install-ContainerImage



SYNOPSIS

Downloads the image from the cloud and installs them on the local computer.





SYNTAX

Install-ContainerImage [-Force] [-Source <String>] [-WhatIf] [-Confirm] [<CommonParameters>]



Install-ContainerImage [-Name] <String[]> [-MinimumVersion <Version>] [-MaximumVersion <Version>]

[-RequiredVersion <Version>] [-Force] [-Source <String>] [-WhatIf] [-Confirm] [<CommonParameters>]



Install-ContainerImage [-InputObject] <PSObject[]> [-Force] [-Source <String>] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

The Install-ContainerImage gets the container image that meets the specified cirteria from the cloud.

It saves the image locally and then installs it.





PARAMETERS

-Name <String[]>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-InputObject <PSObject[]>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-MinimumVersion <Version>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-MaximumVersion <Version>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-RequiredVersion <Version>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Force [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Source <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Install-ContainerImage -Name ImageName













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Install-ContainerImage -Name ImageName -Source ContainerImageGallery













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Install-ContainerImage -Name ImageName -MinimumVersion Version













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Install-ContainerImage -Name ImageName -MaximumVersion Version













-------------------------- EXAMPLE 5 --------------------------



PS C:\\>Install-ContainerImage -Name ImageName -RequiredVersion Version













-------------------------- EXAMPLE 6 --------------------------



PS C:\\>Find-ContainerImage -Name ImageName | Install-ContainerImage















RELATED LINKS