搜索可用docker镜像

2014-01-15 20:18:56
王春生
901636
最后编辑:王春生 于 2014-02-15 09:31:52
简介:这一步的目标是学会使用docker search命令来检索可用镜像。

搜索可用的docker镜像

使用docker最简单的方式莫过于从现有的容器镜像开始。Docker官方网站专门有一个页面来存储所有可用的镜像,网址是: index.docker.io。你可以通过浏览这个网页来查找你想要使用的镜像,或者使用命令行的工具来检索。

目标:

学会使用命令行的工具来检索名字叫做tutorial的镜像。

提示:

命令行的格式为:docker search 镜像名字

正确的命令:

$ docker search tutorial


评论列表
永远不报错 2022-09-19 14:09:12
你确定联网了吗,IP子网源码,网关,dns都配置了吗?
real name 2021-10-20 15:36:38
泡了两份咖啡,还是巨困。
lamyuklou 2020-08-07 11:23:02
强啊墙啊
123岁碎cup 2019-08-09 14:18:46
厉害哦
这样子就行了 2019-01-04 14:17:57
```
docker search hello-world
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
hello-world Hello World! (an example of minimal Dockeriz… 793 [OK]
kitematic/hello-world-nginx A light-weight nginx container that demonstr… 117
tutum/hello-world Image to test docker deployments. Has Apache… 59 [OK]
dockercloud/hello-world Hello World! 14 [OK]
hypriot/armhf-hello-world Hello World! (an example of minimal Dockeriz… 6
crccheck/hello-world Hello World web server in under 2.5 MB 6 [OK]
armhf/hello-world Hello World! (an example of minimal Dockeriz… 5
marcells/aspnet-hello-world ASP.NET vNext - Hello World 5 [OK]
bonomat/nodejs-hello-world a simple nodejs hello world container 3 [OK]
kornkitti/express-hello-world Node.js Express Hello World : https://github… 3
hello-seattle Hello from DockerCon 2016 (Seattle)! 2 [OK]
ppc64le/hello-world Hello World! (an example of minimal Dockeriz… 2
arm32v7/hello-world Hello World! (an example of minimal Dockeriz… 1
carinamarina/hello-world-app This is a sample Python web application, run… 1 [OK]
ansibleplaybookbundle/hello-world-apb An APB which deploys a sample Hello World! a… 0 [OK]
ansibleplaybookbundle/hello-world-db-apb An APB which deploys a sample Hello World! a… 0 [OK]
microsoft/mcr-hello-world Hello World! (an example of minimal Dockeriz… 0
mcrflowtest/mcr-hello-world Hello World! (an example of minimal Dockeriz… 0
gscrivano/hello-world hello world example system container 0 [OK]
s390x/hello-world Hello World! (an example of minimal Dockeriz… 0
markmnei/hello-world-java Automated build of Hello World Java 0 [OK]
burdz/hello-world-k8s To provide a simple webserver that can have … 0 [OK]
kevindockercompany/hello-world 0
infrastructureascode/hello-world A tiny "Hello World" web server with a healt… 0 [OK]
winamd64/hello-world Hello World! (an example of minimal Dockeriz… 0

```
zhou 2018-09-06 16:55:39
[root@HikvisionOS ~]# sudo docker search hello-world
Error response from daemon: Get https://index.docker.io/v1/search?q=hello-world&n=25: x509: certificate signed by unknown authority
这是为什么 但是pull是可以用的 search就不行
niunan 2017-06-24 20:41:09
PS C:\Users\niunan> docker search tutorial
Error response from daemon: Get https://index.docker.io/v1/search?q=tutorial&n=25: net/http: TLS handshake timeout
伟大的墙阻止了我学习的热情。。。
Tomato 2017-07-20 16:20:45
你可以配置阿里云镜像
test 2017-05-25 20:40:54
mmmm
SmartXQ 2017-04-29 09:46:06
注意使用“sudo docker search XXXX”,否则可能提示“dial unix /var/run/docker.sock: connect: permission denied”
shuxte 2017-03-28 23:06:03
说白了就是得翻墙才能执行这个命令,再一个,我的Mac开始的时候发现终端都ping不通百度,后来捅咕捅咕就好了。
1/2
发表评论
叁 减 拾 =
评论通过审核后显示。