Check the Docker® installation
Docker® has already been installed as part of the requirements via the docker.io package. Next, check to see if Docker® is running correctly.
Use the following command to test whether Docker® is running correctly on the system:
sudo systemctl status dockerThis command displays the current status. If Docker® is running correctly, the status should be active (running).
In addition, you can start a simple Docker® container to check whether Docker® works. To do this, execute the following command:
sudo docker run hello-worldThis command downloads the hello-world image from Docker® Hub and starts a container. If Docker® is installed correctly, a corresponding message is displayed.