From a11b508a6430a61a801cb849e03e9b049da092ed Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 17 Sep 2022 19:57:36 +0800 Subject: [PATCH] Updated How to Monitor Docker Containers (markdown) --- How-to-Monitor-Docker-Containers.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/How-to-Monitor-Docker-Containers.md b/How-to-Monitor-Docker-Containers.md index 26f90df..ae0b4d8 100644 --- a/How-to-Monitor-Docker-Containers.md +++ b/How-to-Monitor-Docker-Containers.md @@ -6,18 +6,16 @@ By default, a docker container is self-contained, which means Uptime Kuma cannot Command argument: ```bash --v /var/run/docker.sock:/var/run/docker.sock:ro +-v /var/run/docker.sock:/var/run/docker.sock ``` docker-compose: ```yml volumes: - - /var/run/docker.sock:/var/run/docker.sock:ro + - /var/run/docker.sock:/var/run/docker.sock ``` -`:ro` (**r**ead**o**nly) is recommended. - ### (Method 2) TCP - Bridge Mode TODO