check docker version code example
Example 1: check if docker is running
systemctl status docker
Example 2: check docker version
docker version
Example 3: docker current version
docker --version
systemctl status docker
docker version
docker --version