LMSouq
server-admin Open

Docker: Temporary failure resolving 'deb.debian.org'

PR
Promise Preston
1 month ago
3 views
Problem Description
I have a Rails application that I want to deploy using Docker on an Ubuntu server. I have the Dockerfile for the application already set up, right now I want to view the `nginx` conf in its container. I ran the command below to start an `nginx` container in an interactive mode: docker run -i -t nginx:latest /bin/bash Right now I am trying to install `nano` editor in order to view the configuration for `nginx` configuration (`nginx.conf`) using the commands below: apt-get update apt-get install nano export TERM=xterm However, when I run the first command `apt-get update`, I get the error below: Err:1 http://security.debian.org/debian-security buster/updates InRelease Temporary failure resolving 'security.debian.org' Err:2 http://deb.debian.org/debian buster InRelease Temporary failure resolving 'deb.debian.org' Err:3 http://deb.debian.org/debian buster-updates InRelease Temporary failure resolving 'deb.debian.org' Reading package lists... Done W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org' W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead. I have checked very well it has nothing to do with network connectivity.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base