Run this command to list all the services:
sudo systemctl list-units --type=service
Look for the correct Docker service name (in my case it is snap.docker.dockerd.service
) then run:
sudo systemctl restart snap.docker.dockerd.service
Run this command to list all the services:
sudo systemctl list-units --type=service
Look for the correct Docker service name (in my case it is snap.docker.dockerd.service
) then run:
sudo systemctl restart snap.docker.dockerd.service