Skip to content

General Discussions

This page contains paraphrased discussions that may be useful for future reference. Also note that these discussions are searchable from the search bar in the website.

For issues related to this page, please open a GitHub issue.

apt-get update failure in Docker container

Q: How to fix apt-get update failure in Docker container due to potential DNS or network issues?

A: Edit Docker configuration (/etc/docker/daemon.json):

{
  "dns": ["8.8.8.8", "8.8.4.4"]
}

and then restart Docker with sudo service docker restart.

Reference:

2025-06-16.