43524 发表于 2015-9-30 09:02:36

docker在centos7配置other_args参数未生效


1
2
3
4
5
# docker push 172.20.135.93:5000/jenkins1.1
The push refers to a repository (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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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


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


WantedBy=multi-user.target






页: [1]
查看完整版本: docker在centos7配置other_args参数未生效