Skip to content

Commit

Permalink
Update DOCKER.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thebrumby authored Sep 14, 2024
1 parent daa3bf7 commit 17adb90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,21 @@ To create and start the Docker container:
docker run -d --name telegram-claim-bot --restart unless-stopped thebrumby/telegram-claim-bot:latest
```

If you experience DNS issues using Docker's default network settings (e.g., GitHub fails to resolve and no games load), you can manually override the DNS using the commands below:
The Docker container inherits it's networking properties from the host computer. If you experience DNS issues using Docker's default network settings (e.g., GitHub fails to resolve and no games load), you can manually override the DNS using the commands below:

**Using Cloudflare's DNS**

```bash
docker stop telegram-claim-bot
docker rm telegram-claim-bot
docker run -d --name telegram-claim-bot --dns="1.1.1.1" --restart unless-stopped thebrumby/telegram-claim-bot:latest
```

**Using Google's DNS**

```bash
docker stop telegram-claim-bot
docker rm telegram-claim-bot
docker run -d --name telegram-claim-bot --dns="8.8.8.8" --restart unless-stopped thebrumby/telegram-claim-bot:latest
```

Expand Down

0 comments on commit 17adb90

Please sign in to comment.