mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:06:00 +02:00
docker-search: add page (#16745)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
bb20d57845
commit
c6e25758d9
1 changed files with 28 additions and 0 deletions
28
pages/common/docker-search.md
Normal file
28
pages/common/docker-search.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# docker search
|
||||
|
||||
> Search for Docker images on Docker Hub.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/search/>.
|
||||
|
||||
- Search for Docker images by name or keyword:
|
||||
|
||||
`docker search {{keyword}}`
|
||||
|
||||
- Search for images and only show official ones:
|
||||
|
||||
`docker search {{[-f|--filter]}} is-official=true {{keyword}}`
|
||||
|
||||
- Search for images and only show automated builds:
|
||||
|
||||
`docker search {{[-f|--filter]}} is-automated=true {{keyword}}`
|
||||
|
||||
- Search for images with a minimum number of stars:
|
||||
|
||||
`docker search {{[-f|--filter]}} stars={{number}} {{keyword}}`
|
||||
|
||||
- Limit the number of results:
|
||||
|
||||
`docker search --limit {{number}} {{keyword}}`
|
||||
|
||||
- Customize the output format:
|
||||
|
||||
`docker search {{[-f|--format]}} "{{.Name}}: {{.Description}}" {{keyword}}`
|
Loading…
Add table
Reference in a new issue