新装docker 从本地仓库下载
来源:互联网 发布:linux退出命令行界面 编辑:程序博客网 时间:2024/05/16 18:55
docker:/root# docker imagesGet 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 startStarting cgconfig service: [ OK ]Starting docker: [ OK ]docker:/root# docker imagesREPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEdocker:/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 imagesREPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEdocker:/root# docker:/root# docker:/root# docker pull 192.168.32.150:5000/zjzc_centos6.5_templateError 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.crtdocker:/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_templatePulling repository 192.168.32.150:5000/zjzc_centos6.5_templatef01c69d919d1: 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
0 0
- 新装docker 从本地仓库下载
- Docker创建本地仓库
- Docker本地仓库管理
- Docker 从入门到精通(二) 搭建本地仓库
- Docker 从入门到精通(二) 搭建本地仓库
- Docker 从入门到精通(二) 搭建本地仓库
- Docker 从入门到放弃(四)之Docker本地仓库
- Docker学习记录(4)——docker pull默认从本地镜像仓库拉取镜像
- Docker搭建本地私有仓库
- docker本地仓库的搭建
- docker本地私有仓库搭建
- Docker搭建本地私有仓库
- docker 私有仓库上传镜像,其他docker服务器从私有镜像下载
- Docker本地仓库的创建方法
- docker无法上传镜像到本地仓库
- docker本地镜像仓库搭建
- docker本地仓库实现双机互传
- 搭建Docker本地仓库(三)
- 122. Best Time to Buy and Sell Stock II
- 队列的链式存储
- Java基础之OOM
- Linux学习笔记2-tomcat启动及控制台查看
- [BZOJ2017] [Usaco2009 Nov]硬币游戏
- 新装docker 从本地仓库下载
- Java中数组的问题(三)
- 二维码识别IOS或Android客户端
- iBatis框架使用 编程4步
- VR虚拟现实小白入门:18个VR专业术语解析!
- JSP/Servlet工作原理
- Android_自定义View
- 319. Bulb Switcher
- Spring MVC 3.0.5+Spring 3.0.5+MyBatis3.0.4全注解实例详解