check whether docker is running code example Example: check if docker is running systemctl status docker