This Article Applies to:
- Avast Business On-Premise Console
At times you will need to upgrade your Docker installation. First you will need to update the dnf package cache, then select which version of Docker to install. Use the following commands.
#systemctl stop docker: stops Docker services
#dnf makecache: creates system cache
#dnf list docker-ce.x86_64 –showduplicates sort -r: outputs a list of Docker versions available so you can note the version number you wish to use
#dnf -y install docker-ce-<version>: installs the selected version of docker-ce.
#systemctl start docker: starts Docker services
You will occasionally need to upgrade your docker-compose installation. Use the following commands.
#pip install --upgrade pip: upgrades pip to the latest version
#pip install --upgrade docker-compose: upgrades docker-compose to the latest version