Docker: Temporary failure resolving 'deb.debian.org'
Specifying a DNS server for docker containers helped me.
Create a /etc/docker/daemon.json
file with this content:
{
"dns": ["8.8.8.8", "8.8.4.4"]
}
and restart the docker service:
sudo service docker restart
src: https://docs.docker.com/engine/install/linux-postinstall/#specify-dns-servers-for-docker
Try restarting docker. Worked for me.
sudo service docker restart
or sudo /etc/init.d/docker restart
Prior to bumping into this issue, docker was working fine. If you never had docker working in the first place, you probably have a different issue.