Purpose
The Gala Node software requires a specific version or higher of Docker installed in order to function. This article explains how you can update Docker to its latest version on Ubuntu Linux.
Assumptions Made
This article assumes you understand the information in the following articles:
Gala Node Software vs Node License
Install the Gala Node Software on Ubuntu Linux
Procedure
When running the Gala Node installation commands, you may run into an issue where an older version of Docker is installed. In order to continue you'll need to install an updated version.
You can also see the current version of Docker installed by entering:
docker --version
This version is 19.03.8 which is not compatible with the Gala Node software.
Enter the following command below to install the latest version of docker. This will make sure that docker is turned off, uninstalled and then reinstalls the latest version of the Docker software.
sudo systemctl disable --now docker; sudo apt-get purge docker.io -y; sudo apt-get update; sudo apt-get install ca-certificates curl; sudo install -m 0755 -d /etc/apt/keyrings; sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc; sudo chmod a+r /etc/apt/keyrings/docker.asc; echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null; sudo apt-get update; sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
After running the command, you can verify that Docker has installed the latest version by checking its version number.