mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-04 14:39:19 +08:00
Updated Troubleshooting (markdown)
@@ -20,11 +20,3 @@ Then you can test with these commands for example:
|
|||||||
curl https://google.com
|
curl https://google.com
|
||||||
ping google.com
|
ping google.com
|
||||||
```
|
```
|
||||||
|
|
||||||
If running a ping results in a DNS-related error, try configuring your container to run using the host's network. To do this, run the `docker run` command with the `--network="host"` flag. For example:
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma --network="host" louislam/uptime-kuma:1
|
|
||||||
```
|
|
||||||
|
|
||||||
More information here: https://docs.docker.com/engine/reference/run/#network-host
|
|
||||||
|
Reference in New Issue
Block a user