新装docker 从本地仓库下载
docker:/root# docker images
Get http:///var/run/docker.sock/v1.19/images/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
docker:/root# /etc/init.d/docker start
Starting cgconfig service: [ OK ]
Starting docker: [ OK ]
docker:/root# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
docker:/root# curl http://192.168.32.150:5000/v1/search
{"num_results": 3, "query": "", "results": [{"description": "", "name": "library/zjzc_centos6.5_template"}, {"description": "", "name": "library/zjzc_linux123"}, {"description": "", "name": "library/zjzc-test03"}]}docker:/root#
docker:/root#
docker:/root# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
docker:/root#
docker:/root# docker:/root# docker pull 192.168.32.150:5000/zjzc_centos6.5_template
Error response from daemon: invalid registry endpoint https://192.168.32.150:5000/v0/: unable to ping registry endpoint https://192.168.32.150:5000/v0/
v2 ping attempt failed with error: Get https://192.168.32.150:5000/v2/: EOF
v1 ping attempt failed with error: Get https://192.168.32.150:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure- registry 192.168.32.150:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/192.168.32.150:5000/ca.crt
docker:/root# vim /etc/init.d/docker 解决方法: /etc/init.d/docker 加上: $exec -d --insecure-registry 192.168.32.150:5000 $other_args &>> $logfile & docker:/root# docker pull 192.168.32.150:5000/zjzc_centos6.5_template
Pulling repository 192.168.32.150:5000/zjzc_centos6.5_template
f01c69d919d1: Download complete
511136ea3c5a: Download complete
1d6ebc5c68b1: Download complete
f01c1b138488: Download complete
9e2de3fc0748: Download complete
a05f15a89c8d: Download complete
Status: Downloaded newer image for 192.168.32.150:5000/zjzc_centos6.5_template:latest
新装docker 从本地仓库下载的更多相关文章
- docker搭建本地仓库并制作自己的镜像
原文地址https://blog.csdn.net/junmoxi/article/details/80004796 1. 搭建本地仓库1.1 下载仓库镜像1.2 启动仓库容器2. 在CentOS容器 ...
- docker构建本地仓库后,无法登陆解决办法(CentOS/Ubuntu)
docker版本为:Server Version: 1.12.6 从dockerhub上下载最新的registry镜像. 首先.构建registry 1.下载registry镜像 docker pul ...
- docker的本地仓库换成阿里云的镜像仓库
1,阿里云上注册账号,我的已经注册好了,仓库名称:registry.cn-hangzhou.aliyuncs.com/woccb2/chen 2,本地安装docker: yum -y install ...
- maven配置本地仓库(从本地仓库下载jar包到.m2仓库)
Windows-->preference 把你的settings.xml存到一个地方maven指向你的settings.xmlsettings.xml里的地址是你们 ...
- [docker]本地仓库的创建的使用
如果自己创建的镜像可以供其他同事使用,那就可以大大节约开发时间成本,docker的本地仓库正好可以满足这样的需求 1.在仓库服务器上创建本地仓库 baylor@baylor-virtual-machi ...
- Kubernetes 本地仓库
1.Kubernetes本地私有仓库 Docker仓库主要用于存放Docker镜像,Docker仓库分为公共仓库和私有仓库,基于registry可以搭建本地私有仓库.使用私有仓库有如下优点: 1)节省 ...
- kubernetes使用本地仓库
k8s与docker的安装 我参考的是 https://kuboard.cn/install/install-k8s.html#%E6%96%87%E6%A1%A3%E7%89%B9%E7%82%B9 ...
- Docker学习-私有仓库docker-registry的使用
1.从docker官方仓库下载registry 2.将registry放进容器内 3.在官方下载镜像上传本地仓库 4.私有仓库docker-registry使用的常见问题 5.配置阿里云镜像加速器 假 ...
- Docker 使用指南 (二)—— 搭建本地仓库
版权声明:本文由田飞雨原创文章,转载请注明出处: 文章原文链接:https://www.qcloud.com/community/article/94 来源:腾云阁 https://www.qclou ...
随机推荐
- GDAL与OpenCV2.X数据转换(适合多光谱和高光谱等多通道的遥感影像)
一.前言 GDAL具有强大的图像读写功能,但是对常用图像处理算法的集成较少,OpenCV恰恰具有较强的图像处理能力,因此有效的结合两者对图像(遥感影像)的处理带来了极大的方便.那么如何实现GDAL与o ...
- Windows下Node.js开发环境搭建
1.http://nodejs.org/下载node.js运行环境安装 2.打开DOS命令行 .安装express框架 1 >npm install express 末尾显示如下为安装成功 .安 ...
- Storm Esper
https://github.com/hellojinjie https://github.com/tomdz/storm-esper https://github.com/jayway/awaiti ...
- SD卡在单片机上的应用
(1)SD卡的引脚定义: SD卡SPI模式下与单片机的连接图: 注意:SPI模式时,这些信号需要在主机端用10~100K欧的电阻上拉. SD卡支持两种总线方式:SD方式与SPI方式. ...
- 在cocos2d-x界面中嵌入Android的WebView
在Cocos2dxActivity.java中, (1) 增加函数onCreateLayout, [java] view plain copy public LinearLayout onCre ...
- 14.3.5.1 Interaction of Table Locking and Transactions 表锁和事务的相互作用
14.3.5.1 Interaction of Table Locking and Transactions 表锁和事务的相互作用 LOCK TABLES 和UNLOCK TABLES 交互实用事务如 ...
- 在线获取访客QQ号码的原理及实现方法
原文地址:http://www.piaoyi.org/network/get-qq-haoma-js.html 正 文: 最近,飘易收到不少在线获取网站访客QQ号码的促销推广邮件,有不少商用网站挖掘了 ...
- Python学习笔记10-Python MysqlHelper ,MySql 辅助类
自己写了一个MySql辅助类,有需要的拿走: #--encoding:utf-8-- # import MySQLdb class MySQLHelper: myVersion=0.1 def __i ...
- leetcode_question_125 Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignori ...
- 让你提前认识软件开发(23):怎样在C语言中运行shell命令?
第1部分 又一次认识C语言 怎样在C语言中运行shell命令? [文章摘要] Linux操作系统具备开源等诸多优秀特性,因此在很多通信类软件(主流开发语言为C语言)中,开发平台都迁移到了Linux上, ...