From c6e25758d9752936657b1061ba6b125176481c69 Mon Sep 17 00:00:00 2001 From: Aswin girish <87950210+Aswin-00@users.noreply.github.com> Date: Thu, 5 Jun 2025 00:48:52 +0530 Subject: [PATCH] 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> --- pages/common/docker-search.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/docker-search.md diff --git a/pages/common/docker-search.md b/pages/common/docker-search.md new file mode 100644 index 0000000000..39e7df6614 --- /dev/null +++ b/pages/common/docker-search.md @@ -0,0 +1,28 @@ +# docker search + +> Search for Docker images on Docker Hub. +> More information: . + +- 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}}`