Docker Community Forums

Share and learn in the Docker community.

Docker Repo for Linux CentOS use wrong path

The baseurl in the docker repo was populated incorrectly. I’ve tried to use it recently, but it’s failing to install the docker because of wrong repo configuration.


should be:

Would someone bring this up to Docker team please.

You can use official docker instruction to install docker-ce on CentOS. For installing in a specific path, you can use yum install command with --installroot=root switch. Something like this:

sudo yum install docker-ce docker-ce-cli --installroot=/opt/docker