首页 > 其他 > 详细

docker在centos7配置other_args参数未生效

时间:2015-09-29 19:01:14      阅读:291      评论:0      收藏:0      [点我收藏+]

 

[root@93 passport]# docker push 172.20.135.93:5000/jenkins1.1
The push refers to a repository [172.20.135.93:5000/jenkins1.1] (len: 1)
unable to ping registry endpoint https://172.20.135.93:5000/v0/
v2 ping attempt failed with error: Get https://172.20.135.93:5000/v2/: tls: oversized record received with length 20527
 v1 ping attempt failed with error: Get https://172.20.135.93:5000/v1/_ping: tls: oversized record received with length 20527

 


/etc/sysconfig/docker

other_args="--insecure-registry 172.20.135.93:5000"


/usr/lib/systemd/system/docker.service

[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket

[Service]
EnvironmentFile=-/etc/sysconfig/docker
ExecStart=/usr/bin/docker -d $other_args -H fd://
MountFlags=slave
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity

[Install]
WantedBy=multi-user.target

 

本文出自 “黄怡善的运维博客” 博客,请务必保留此出处http://linuxpython.blog.51cto.com/10015972/1699244

docker在centos7配置other_args参数未生效

原文:http://linuxpython.blog.51cto.com/10015972/1699244

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!