From 61c55690b179e9da3c42fbdf68c2b90271a7885a Mon Sep 17 00:00:00 2001 From: HoneyBearTech <31805425+HoneyBearTech@users.noreply.github.com> Date: Sat, 31 Dec 2022 21:41:04 -0600 Subject: [PATCH] Update How-to-Monitor-Docker-Containers.md The lines from the daemon.json file "hosts": ["unix:///var/run/docker.sock", "tcp://:2375"] and "hosts": ["unix:///var/run/docker.sock", "tcp://:2376"] needed an extra space after the comma before the " starting the next host. The Docker service was through syntax errors without that space between the defined hosts. --- How-to-Monitor-Docker-Containers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/How-to-Monitor-Docker-Containers.md b/How-to-Monitor-Docker-Containers.md index 4dce856..6056c48 100644 --- a/How-to-Monitor-Docker-Containers.md +++ b/How-to-Monitor-Docker-Containers.md @@ -29,13 +29,13 @@ Update the daemon configuration located at `/etc/docker/daemon.json`: #any additional parameters should be kept #Insecure option, only use this if you are running on a closed network - "hosts": ["unix:///var/run/docker.sock","tcp://:2375"] + "hosts": ["unix:///var/run/docker.sock", "tcp://:2375"] #Secure option "tls": true, "tlscert": "/var/docker/server.pem", "tlskey": "/var/docker/serverkey.pem", - "hosts": ["unix:///var/run/docker.sock","tcp://:2376"] + "hosts": ["unix:///var/run/docker.sock", "tcp://:2376"] } ``` @@ -62,4 +62,4 @@ Add a new Docker host and choose TCP as the option. Specify the IP address of th ## Related Disscussion -- https://github.com/louislam/uptime-kuma/issues/2061 \ No newline at end of file +- https://github.com/louislam/uptime-kuma/issues/2061