mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
Update How-to-Monitor-Docker-Containers.md
The lines from the daemon.json file "hosts": ["unix:///var/run/docker.sock", "tcp://<host IP address>:2375"] and "hosts": ["unix:///var/run/docker.sock", "tcp://<host IP address>: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.
parent
2d1cad1cc5
commit
61c55690b1
1 changed files with 3 additions and 3 deletions
|
@ -29,13 +29,13 @@ Update the daemon configuration located at `/etc/docker/daemon.json`:
|
||||||
#any additional parameters should be kept
|
#any additional parameters should be kept
|
||||||
|
|
||||||
#Insecure option, only use this if you are running on a closed network
|
#Insecure option, only use this if you are running on a closed network
|
||||||
"hosts": ["unix:///var/run/docker.sock","tcp://<host IP address>:2375"]
|
"hosts": ["unix:///var/run/docker.sock", "tcp://<host IP address>:2375"]
|
||||||
|
|
||||||
#Secure option
|
#Secure option
|
||||||
"tls": true,
|
"tls": true,
|
||||||
"tlscert": "/var/docker/server.pem",
|
"tlscert": "/var/docker/server.pem",
|
||||||
"tlskey": "/var/docker/serverkey.pem",
|
"tlskey": "/var/docker/serverkey.pem",
|
||||||
"hosts": ["unix:///var/run/docker.sock","tcp://<host IP address>:2376"]
|
"hosts": ["unix:///var/run/docker.sock", "tcp://<host IP address>:2376"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue