ERROR: Couldn’t connect to Docker daemon at http+ docker://localhost – is it running?
$sudo docker compose up. To start with sudo, enter the password
Other explanations (used, no)
Answer: the main reason is that docker is not started in the system service mode.
Solution:
- Start docker servic
- Generate self-starting services
- Check the service status, Active status is: active (running)