docker-compose up
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
我尝试了几种方法,其中一种建议是重启 Docker:
sudo systemctl restart docker
Failed to restart docker.service: Unit docker.service is masked.
sudo service nginx restart
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.