mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +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:
|
Command argument:
|
||||||
```bash
|
```bash
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock:ro
|
-v /var/run/docker.sock:/var/run/docker.sock
|
||||||
```
|
```
|
||||||
|
|
||||||
docker-compose:
|
docker-compose:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
volumes:
|
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
|
### (Method 2) TCP - Bridge Mode
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
Loading…
Reference in a new issue