I have a Raspberry Pi 3 Model B Plus Rev 1.3, running Debian GNU/Linux 12 (bookworm). uname -a prints:
Linux raspberrypi 6.12.25+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux
It is running Docker version 28.5.1, build e180ab8.
I have a Docker container that works fine when run in Docker on my PC, but when run on my Raspberry Pi, I get DNS errors.
The bot’s log output, on Docker in Raspbian, is:
logging output
Logging in
node:internal/deps/undici/undici:14900
Error.captureStackTrace(err);
^
TypeError: fetch failed
at node:internal/deps/undici/undici:14900:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
[cause]: Error: getaddrinfo EAI_AGAIN lemmy.zip
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3001,
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'lemmy.zip'
}
}
Node.js v22.21.1
If I do ping lemmy.zip, outside of Docker, it works absolutely fine.
My Pi’s DNS settings are:
/etc/resolv.conf
search Home
nameserver 9.9.9.9
nameserver 149.112.112.112
I assume, but do not know for sure, that this is loosely related to my earlier issue with even doing a docker pull, which users on here were able to successfully assist me with, and reducing my resolv.conf down to what it is now seemed to be the solution.