configure daemon

This commit is contained in:
Kameron Kenny 2024-12-18 14:21:25 -05:00
parent 1052ccf386
commit 220d4e27ca
1 changed files with 14 additions and 0 deletions

14
5_config_docker.sh Normal file
View File

@ -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