# Problem with NR in Docker: no connection to the outside

**URL:** <https://discourse.nodered.org/t/problem-with-nr-in-docker-no-connection-to-the-outside/37560>\
**Category:** General\
**Created:** [16 December 2020 01:17 UTC](https://discourse.nodered.org/t/problem-with-nr-in-docker-no-connection-to-the-outside/37560 "2020-12-16T01:17:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayballz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayballz/32/21375_2.png) [@jayballz](https://discourse.nodered.org/u/jayballz)\
**Post date:** [16 December 2020 01:17 UTC](https://discourse.nodered.org/t/problem-with-nr-in-docker-no-connection-to-the-outside/37560/1 "2020-12-16T01:17:41Z")

</div>

UPDATE for the people with similiar problems:

I found this solution: [https://www.problemsolvedtoo.com/2019/02/14/docker-dns-issue/](https://www.problemsolvedtoo.com/2019/02/14/docker-dns-issue/)

Just create a _daemon.json_ file in /etc/docker/

```auto
sudo nano /etc/docker/daemon.json

```

enter

```auto
{
"dns": ["10.0.0.1","8.8.8.8"]
}

```

8.8.8.8 for Google's DNS

and

```auto
sudo service docker restart

```

worked for me fine. 🙂

Thanks for reading, have a good xmas \<3

* * *

Hi there

i need your help.

I got a new RPi4B and installed Nodered (NR) with IOTstack (along with Wireguard, Nextcloud, Influxdb, Grafana, Mariadb, Tasmota, Portainer).  
For some reasons my telegram-bot stopped working (it did until yesterday, but i didnt changed anything today). I just get this error message:

```auto
"Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443"

```

Interestingly, i get data from openweathermap.

In a post from 2019 it says this is a DNS problem. Unfortunately i dont have PiHole installed as the guy in the post back then. So there is no simple solution for me like he found.

This is probably more a Docker/IOTstack-problem then a node-red related one, i guess.

Any guesses where to start?

lovely wishes  
Jonas

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 February 2021 01:17 UTC](https://discourse.nodered.org/t/problem-with-nr-in-docker-no-connection-to-the-outside/37560/2 "2021-02-14T01:17:51Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
