Laradock use: docker-compose command run error

When using docker-compose up -d nginx mysql redis workspace, there has been an 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.

Solution: service docker restart

Published 67 original articles · won praise 24 · views 50000 +

Guess you like

Origin blog.csdn.net/u012322399/article/details/102744177