ERROR: Couldn't connect to Docker daemon at http+docker://localhost-is it running?
The main reason is that docker is not started as a system service.
1. Start the docker service
service docker start
2. Generate self-starting service
systemctl enable docker.service
3. Check the service status, the Active status is: active (running)
systemctl status docker.service