Install Docker on CentOS 8

Issues related to applications and software problems and general support
Post Reply
aaronm
Posts: 9
Joined: 2016/12/20 19:58:25

Install Docker on CentOS 8

Post by aaronm » 2019/09/28 15:21:13

I installed docker on CentOS 8. CentOS doesn't Docker anymore. When I type `docker build -t project .` than I get this error message:

Code: Select all

Err:1 http://deb.debian.org/debian testing InRelease
  Temporary failure resolving 'deb.debian.org'
Err:2 http://http.debian.net/debian sid InRelease
  Temporary failure resolving 'http.debian.net'
Reading package lists...
W: Failed to fetch http://deb.debian.org/debian/dists/testing/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://http.debian.net/debian/dists/sid/InRelease  Temporary failure resolving 'http.debian.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
E: The value 'testing' is invalid for APT::Default-Release as such a release is not available in the sources
The command '/bin/sh -c apt-get update      && apt-get install -yq --no-install-recommends groff     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
I tried in /etc/resolv.conf `nameserver 8.8.8.8`

Mike_Rochefort
Posts: 155
Joined: 2016/03/16 02:34:19

Re: Install Docker on CentOS 8

Post by Mike_Rochefort » 2019/09/28 15:56:57

Docker is not a CentOS or RHEL supported project, ideally you should be using podman instead. If you installed Docker then you installed it from Docker sources, not CentOS and as such should be seeking support from the Docker community.

You’ll need to provide more information if you want help, though. How did you install Docker, what is your Dockerfile, etc. All the above points to is potential network issues within Docker itself, which is fairly vague.

Cheers,
Mike

Post Reply

Return to “CentOS 8 - General Support”