Installing Docker is monumental for your Home Lab. This quick article will give you all the steps required to do the installation and to test your installation as well.
PrerequisitePrerequisite
InstallationInstallation
Open a Terminal session and write the following command:
sudo apt install docker.ioYou will be ask permission to install and continue
yValidation of the installationValidation of the installation
To validate the installer, prompt the following command:
docker --versionYou should get:
Docker version 26.1.3, build 26.1.3-0ubuntu1~24.04.1To test if it is running, prompt the following command:
sudo systemctl status dockerYou should get a screen with the docker.service as "running".
To get back to command line do CTRL+C
Test InstallationTest Installation
To make sure that everything runs smoothly, write the following command:
sudo docker run hello-worldYou should get a Hello from Docker.
You are ready to enjoy pulling docker images!