Install Docker 20 on Centos Stream v8

  1. Uninstall old versions

     sudo yum remove docker \
                      docker-client \
                      docker-client-latest \
                      docker-common \
                      docker-latest \
                      docker-latest-logrotate \
                      docker-logrotate \
  2. Set up the repository

     sudo yum install -y yum-utils
     sudo yum-config-manager \
        --add-repo \
  3. Install Docker Engine

     sudo yum install docker-ce docker-ce-cli
  4. If you get an error with podman and buildha packages

#Try uninstalling these:

sudo yum erase podman buildha 

# and then again:
sudo yum install docker-ce docker-ce-cli

     5. Start Docker

$ systemctl start docker

# see the version

$ docker -v
Docker version 20.10.10, build b485636


For more details, go to for detailed instructions.

Leave a Reply

Your email address will not be published.