docker 私有仓库查询
docker:/etc/init.d# docker ps -a | grep reg
c7d5592a3658 registry "docker-registry" 11 minutes ago Exited (0) 59 seconds ago tender_bohr
5739360d1030 registry "docker-registry" 3 months ago Exited (0) 7 days ago 0.0.0.0:5000->5000/tcp sad_mccarthy
402620f666c1 registry "docker-registry" 3 months ago Exited (0) 3 months ago gloomy_brown
docker:/etc/init.d# docker exec -it 5739360d1030 bash
Error response from daemon: Container 5739360d1030 is not running
docker:/etc/init.d# docker start 5739360d1030
5739360d1030
docker:/etc/init.d# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5739360d1030 registry "docker-registry" 3 months ago Up 3 seconds 0.0.0.0:5000->5000/tcp sad_mccarthy
docker:/etc/init.d# docker exec -it 5739360d1030 bash
root@5739360d1030:/# cd /tmp/registry/
root@5739360d1030:/tmp/registry# ls
images repositories
root@5739360d1030:/tmp/registry# cd images/
root@5739360d1030:/tmp/registry/images# ls
088820de4929f0fe9d5125398c9ca34d65d28cd14e1cdfabae6670a91b7bb7e7 4cd4d314a761506606c63dd80e8fe82a603ed17a13bfd55607b36ad7b03ab019 a63aae4d216f12e186c191cdb2dbe01008863590c00e8f163c8fca229d889e18
0ade12fa67cfc96e9491bb90a599b5b504430c797fada57f4bd224872f82f250 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158 bb3d629a7cbc1ded0a8fdeb3756433ecea97f50f7c715f6995905567ecb4b6ac
13547407000da4e2cd2a231f9c0843a790ff83dd771e36e6eb5621dd1febf190 63cbf6e03f8445a69f48149b68eba0b17dc66e2bed67d4720d5202d4a8ebebe6 c640310602a07f86da5737d9dd5ba6709db2794b5ffe7e8113442370e54e9c4a
1d6ebc5c68b1a268ec122bd212610eab8cedbe524a0e1cbbaff2c80a88f1482d 6fdebd7b0eb5e0695812a42189609799fd743ea37dd55d4dc374eca0c57924cc d3451720f1a0df1bb04a5c2ddce14c03b9fefc8737ff6a8b85b4eb92729613c3
2885d941cff259bc442e17ce781c19296f794a99d4e35c022c3bb7e4720f6e87 73a464f47545631c0cda8bf40d3b574544c7c5fe091df411e76186ba6678c8b1 d9c27f7ba9330b23d6722f1f1326618730b201e782c796c8e35a92656be8f281
359916f29599b18de55ba3398bdb97499712746380102c27e17af943384e1ab8 848821b1ba2e49f928c522b875b4f05db7dc652d10c92f3fbb5c984a121de321 e5565e2ef9748b7c31fb1562855dc943390779c5e90bbb4a5ad8d8c91405c0fa
3690474eb5b4b26fdfbd89c6e159e8cc376ca76ef48032a30fa6aafd56337880 99ca2e2e1628e501ec0c4ef3363f262ac9cc377b371462bbaa03db4cec4ed5d1 e9bd4b676dedc8d5e04e6ccbda2eefed8a45f3309ac1e1e00ce3cf25892466d0
434c4358581c12cdba06fad664cae88a751acb7e9b17031867bcd80aac710e6f 9e2de3fc074884ffb26fe0784c9a6b11dc2e4777bffc74611263fa1bb3e32b6b f01c1b1384881c8d0dfafa090451b10b7ff960c7f35250d3596a287f6126a6d3
47d44cb6f252ea4f6aecf8a447972de5d9f9f2e2bec549a2f1d8f92557f4d05a a05f15a89c8db52586d344d504ebcbc02b0d35c78fd38dbbc850203d496167b3 f01c69d919d15cffe28edc451a38856afd200b0f704ad0d13cd5c67514c18086
4bfcf7adf757439a97ecd8a507abe3ad8ea0a955040a4c4a5ef22b43d7fcd13b a2100527968f54963d3a4cc12f5c106f51ece89e6515ce8dc48e9af62e9f20e5 fb7765e908cbdaf71bb1207198328cb762691ab405a79352fdeea0581112c439 docker 私有仓库管理: docker:/etc/init.d# curl http://192.168.32.150:5000/v1/search
{"num_results": 16, "query": "", "results": [{"description": "", "name": "library/zjzc_centos6.5_template"}, {"description": "", "name": "library/zjzc_linux123"}, {"description": "", "name": "library/zjzc-test03"}, {"description": "", "name": "library/zjzc_centos6.5_m01"}, {"description": "", "name": "library/zjzc_centos6.5_m1"}, {"description": "", "name": "library/zjzc_centos6.5_m3"}, {"description": "", "name": "library/zjzc_centos6.5_nginx"}, {"description": "", "name": "library/zjzc_centos6.5_haproxy"}, {"description": "", "name": "library/zjzc_centos6.5_m4"}, {"description": "", "name": "library/zjzc_centos6.5_app"}, {"description": "", "name": "library/zjzc_centos6.5_nfs"}, {"description": "", "name": "library/zjzc_centos6.5_pay_mysql"}, {"description": "", "name": "library/zjzc_centos6.5_zjzc_mysql"}, {"description": "", "name": "library/zjzc_centos6.5_redis"}, {"description": "", "name": "library/zjzc_centos6.5_frontend"}, {"description": "", "name": "library/zjzc_centos6.5_backoffice"}]}docker:/etc/init.d#
docker 私有仓库查询的更多相关文章
- 2.使用nexus3配置docker私有仓库
1,配置走起 1,创建blob存储 登陆之后,先创建一个用于存储镜像的空间. 定义一个name,下边的内容会自动补全. 然后保存. 注意:实际生产中使用,建议服务器存储500G或以上. 2,创建一个h ...
- 一步步搭建docker私有仓库并从私有仓库中下载镜像
一步步搭建docker私有仓库 #下载镜像 docker pull registry#查看镜像 docker images #运行私有仓库,指定端口和数据卷 docker run -d -p : -v ...
- 搭建docker私有仓库,建立k8s集群
服务器IP角色分布 192.168.5.2 etcd server 192.168.5.2 kubernetes master 192.168.5.3 kubernetes node 192.168. ...
- docker 私有仓库镜像的存储位置
docker 私有仓库的镜像 是存储在5739360d1030 registry "docker-registry" 3 days ago Up 28 hours 0.0.0.0: ...
- 在docker私有仓库如何查看有哪些镜像?
搭建了docker私有仓库,上传了一些镜像,时间长了就会忘了有哪些镜像,在网上查了,有大佬是通过脚本查看的,多厉害! #!/usr/bin/env python#-*- coding:utf-8 -* ...
- 转载:教你分分钟搞定Docker私有仓库Registry
一.什么是Docker私有仓库Registry 官方的Docker hub是一个用于管理公共镜像的好地方,我们可以在上面找到我们想要的镜像,也可以把我们自己的镜像推送上去.但是,有时候我们的服务器无法 ...
- Docker 私有仓库建立(加密和用户验证)
(一)生成证书1.mkdir /certs2.cd /certs 3.生成自签名证书 sudo openssl req -newkey rsa:2048 -new -nodes -x509 -days ...
- 搭建docker私有仓库(https)
1.修改openssl.cnf,支持IP地址方式,HTTPS访问在Redhat7或者Centos系统中,文件所在位置是/etc/pki/tls/openssl.cnf.在其中的[ v3_ca]部分,添 ...
- 搭建docker私有仓库
保存镜像的地方成为仓库(registry).目前有2种仓库:公共仓库和私有仓库. 最方便的是使用公共仓库上传和下载镜像,下载不需要注册,上传需要到公共仓库注册.公共仓库网站:https://hub.d ...
随机推荐
- 基于visual Studio2013解决C语言竞赛题之0704字符串长度
题目
- 幻世(OurDream)2D图形引擎使用教程9——处理操作输入(3)
声明:本教程版权归Lizcst Software Lab所有,欢迎转载,但是转载必须保留本段声明文字,并注明文章来源:http://blog.csdn.net/kflizcst 谢谢合作! 现在我们该 ...
- spark集群安装配置
spark集群安装配置 一. Spark简介 Spark是一个通用的并行计算框架,由UCBerkeley的AMP实验室开发.Spark基于map reduce 算法模式实现的分布式计算,拥有Hadoo ...
- perl 自动登陆网站发短信
use LWP::UserAgent; use HTTP::Date qw(time2iso str2time time2iso time2isoz); use Net::Ping; use Sock ...
- perl 函数回调 引用$client->run(sub {$client->sync});
匿名函数引用: [root@wx03 wx]# perl a1.pl CODE(0x2077b30) test [root@wx03 wx]# cat a1.pl $ref= sub {return ...
- perl 匿名函数传参
$subref=sub { my $a=shift; return $a; }; print $subref->("xxyyzz");
- redhat6.3+oracle11GR2 单库 安装规划
oracle11g单实例安装+redhat6.3 规划 一.查看环境 [root@JSCS78DB dev]# cat /etc/redhat-release Red Hat Enterprise ...
- tar打包过滤某个文件及文件夹
ip=ip add|grep eth0|grep -i inet|awk '{print $2}'|cut -d '/' -f 1 cd /data tar -zvcf `echo $ip`_`dat ...
- POJ2392 SpaceElevator [DP]
题目大意:有一头奶牛要上太空,他有非常多种石头,每种石头的高度是hi,可是不能放到ai之上的高度.而且这样的石头有ci个 将这些石头叠加起来.问可以达到的最高高度. 解题思路:首先对数据进行升序排序. ...
- C++ 观察者模式样例
C++ 观察者模式样例 #include <iostream> #include <set> #include <string> using namespace s ...