当前位置:   article > 正文

4-Docker命令之docker search

docker search

1.docker search介绍

docker search命令是用来从docker仓库查找镜像

2.docker search用法

docker search [参数] TERM

  1. [root@centos79 ~]# docker search --help
  2. Usage: docker search [OPTIONS] TERM
  3. Search Docker Hub for images
  4. Options:
  5. -f, --filter filter Filter output based on conditions provided
  6. --format string Pretty-print search using a Go template
  7. --limit int Max number of search results
  8. --no-trunc Don't truncate output
  9. [root@centos79 ~]#

3.实例

3.1.搜索指定镜像

命令:

docker search nginx

  1. [root@centos79 ~]# docker search nginx
  2. NAME DESCRIPTION STARS OFFICIAL AUTOMATED
  3. nginx Official build of Nginx. 19298 [OK]
  4. unit Official build of NGINX Unit
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/533901
推荐阅读
相关标签
  

闽ICP备14008679号