mirror of
https://github.com/krislamo/graylog_demo
synced 2024-11-09 21:50:35 +00:00
Install Docker daemon config for log exporting
This commit is contained in:
parent
6fff93cda4
commit
cb1d489c6c
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -26,6 +26,8 @@ Vagrant.configure("2") do |config|
|
||||
yum-config-manager --add-repo \
|
||||
https://download.docker.com/linux/centos/docker-ce.repo
|
||||
yum install -y docker-ce docker-ce-cli containerd.io
|
||||
mkdir -p /etc/docker/
|
||||
cp --update /vagrant/docker-daemon.json /etc/docker/daemon.json
|
||||
systemctl start docker
|
||||
systemctl -q enable docker
|
||||
usermod -aG docker vagrant
|
||||
|
6
docker-daemon.json
Normal file
6
docker-daemon.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"log-driver": "gelf",
|
||||
"log-opts": {
|
||||
"gelf-address": "tcp://172.28.128.30:12201"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user