Upgrade Prerequisite
Upgrade the Docker version to 20.10.x or above.
Steps to upgrade the Docker version:
- Uninstall the current Docker:
yum remove -y docker-ce docker-ce-cli containerd.io- 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- Start Docker:
systemctl start dockerWas this page helpful?