Updated How to Monitor Docker Containers (markdown)

Louis Lam 2022-09-17 19:57:36 +08:00
parent de46494584
commit a11b508a64

@ -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