Merge pull request #26 from HoneyBearTech/patch-1

Update How-to-Monitor-Docker-Containers.md
Louis Lam
2023-01-03 12:15:02 +08:00
committed by GitHub

@@ -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"]
} }
``` ```