Powershell Cmdlets that wrap the docker client and support the interaction with containers
Search the Docker Hub for repositories
Search-DockerRepository [-Term] <String> [-Limit] <Int32> [[-Timeout] <Int32>] [-IsAutomated] [-IsOfficial]
[[-MinimumStars] <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Wraps the command `docker search`.
Search-DockerRepository 'nanoserver' -Limit 2
Name : microsoft/nanoserver Description : The official Nano Server base image Stars : 479 IsAutomated : False IsOfficial : False
Name : nanoserver/iis Description : Nano Server + IIS. Updated on 08/21/2018 – Version: 10.0.14393.2312 Stars : 42 IsAutomated : False IsOfficial : False
Specifies the search term.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the maximum number of results. If 0, Docker’s default limit (25) is used.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Specifies the number of seconds to wait for the command to finish.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 30
Accept pipeline input: False
Accept wildcard characters: False
Returns only repositories with automated builds.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Returns only official repositories.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Returns only repositories with at least this many stars.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Repository that has the following properties:https://docs.docker.com/engine/reference/commandline/search/