mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Updated How to Monitor Docker Containers (markdown)
parent
de46494584
commit
a11b508a64
1 changed files with 2 additions and 4 deletions
|
@ -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 a new issue