欢迎您的访问
专注于分享最有价值的互联网技术干货

4-5、Docker search 命令

几个T的资料等你来白嫖
双倍快乐
资源帮找!!!

docker search 命令从 Docker Hub 查找镜像

docker search [OPTIONS] TERM
OPTIONS 说明
-f, –filter filter 过滤返回的镜像
–format string 使用模版美化返回结果
–limit int 限制返回结果数量
–no-trunc 不要分段输出

范例

从 Docker Hu b查找所有镜像名包含 python,并且收藏数大于 10 的镜像

[root@localhost ~]# docker search -f star
NAME                        DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
python                      Python is an interpreted, interactive, objec…   2879                [OK]                
django                      Django is a free web application framework, …   673                 [OK]                
pypy                        PyPy is a fast, compliant alternative implem…   136                 [OK]                
kaggle/python               Docker image for Python scripts run on Kaggle   96                                      [OK]
centos/python-35-centos7    Platform for building and running Python 3.5…   22                                      
amazon/aws-eb-python        AWS Elastic Beanstalk Python Image              20                                      
resin/raspberrypi3-python   The Python buildpack image for Python apps f…   17                                      
arm32v7/python              Python is an interpreted, interactive, objec…   17
赞(0) 打赏
版权归原创作者所有,任何形式转载请联系我们:大白菜博客 » 4-5、Docker search 命令

评论 抢沙发

6 + 6 =
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏