Updated How to Monitor Docker Containers (markdown)
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
|
||||
|
|
Loading…
Reference in New Issue