Upgrade Prerequisite

Upgrade the Docker version to 20.10.x or above.

Steps to upgrade the Docker version:

  1. Uninstall the current Docker:

yum remove -y docker-ce docker-ce-cli containerd.io
  1. Install the latest version of Docker:

yum install -y docker-ce docker-ce-cli containerd.io
  • To install a specific version of Docker:

yum install -y docker-ce-24.0.5 docker-ce-cli-24.0.5 containerd.io
  • Replace 24.0.5 with the appropriate version string

  • To list specific versions of Docker

yum list docker-ce --showduplicates | sort -r
  1. Start Docker:

systemctl start docker



On This Page
Upgrade Prerequisite