Description
0 OK ggtools/busybox-ubuntu Busybox ubuntu version with extra goodies 0 OK nikfoundas/busybox-confd Minimal busybox based distribution of confd 0 OK openshift/busybox-http-app 0 OK jllopis/busybox 0 OK swyckoff/busybox 0 OK powellquiring/busybox 0 OK williamyeh/busybox-sh Docker image for BusyBox 's sh 0 OK simplexsys/busybox. The Azure CLI is available to install in Windows, macOS and Linux environments. It can also be run in a Docker container and Azure Cloud Shell. The current version of the Azure CLI is 2.21.0. For information about the latest release, see the release notes. To find your installed version and see if you need to update, run az version.
Search the Docker Hub for images
Usage
Extended description
Search Docker Hub for images
For example uses of this command, refer to the examples section below.
Options
Name, shorthand | Default | Description |
--filter , -f | Filter output based on conditions provided | |
--format | Pretty-print search using a Go template | |
--limit | 25 | Max number of search results |
--no-trunc | Don't truncate output |
Examples
Search images by name
This example displays images with a name containing ‘busybox’:
Display non-truncated description (--no-trunc)
This example displays images with a name containing ‘busybox’,at least 3 stars and the description isn’t truncated in the output:
Limit search results (--limit)
The flag --limit
is the maximum number of results returned by a search. This value couldbe in the range between 1 and 100. The default value of --limit
is 25.
Filtering
The filtering flag (-f
or --filter
) format is a key=value
pair. If there is morethan one filter, then pass multiple flags (e.g. --filter is-automated=true --filter stars=3
)
The currently supported filters are:
- stars (int - number of stars the image has)
- is-automated (boolean - true or false) - is the image automated or not
- is-official (boolean - true or false) - is the image official or not
stars
Python Ubuntu Docker Example
This example displays images with a name containing ‘busybox’ and atleast 3 stars:
is-automated
This example displays images with a name containing ‘busybox’and are automated builds:
is-official
This example displays images with a name containing ‘busybox’, at least3 stars and are official builds:
Format the output
The formatting option (--format
) pretty-prints search outputusing a Go template.
Valid placeholders for the Go template are:
Placeholder | Description |
---|---|
.Name | Image Name |
.Description | Image description |
.StarCount | Number of stars for the image |
.IsOfficial | “OK” if image is official |
.IsAutomated | “OK” if image build was automated |
When you use the --format
option, the search
command willoutput the data exactly as the template declares. If you use thetable
directive, column headers are included as well.
The following example uses a template without headers and outputs theName
and StarCount
entries separated by a colon (:
) for all images:
This example outputs a table format:
Python-docker Ubuntu 20.04
Parent command
Python Running Ubuntu Docker
Command | Description |
---|---|
docker | The base command for the Docker CLI. |