Page 1 of 1

Install Docker on CentOS 8

Posted: 2019/09/28 15:21:13
by aaronm
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`

Re: Install Docker on CentOS 8

Posted: 2019/09/28 15:56:57
by Mike_Rochefort
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