configure daemon
This commit is contained in:
parent
1052ccf386
commit
220d4e27ca
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
mkdir -p /etc/docker
|
||||||
|
|
||||||
|
cat << EOF >> /etc/docker/daemon.json
|
||||||
|
{
|
||||||
|
"insecure-registries" : [ "docker-registry1.in.thelinuxpro.net:5000" ],
|
||||||
|
"log-driver": "syslog",
|
||||||
|
"log-opts": {
|
||||||
|
"syslog-address": "udp://syslog.in.thelinuxpro.net:5514",
|
||||||
|
"tag": "{{.ImageName}}/{{.Name}}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
Loading…
Reference in New Issue