$ docker-compose ps
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.
What did you do ...
Speaking of which, it seems that Docker for Windows has updated something ...
name | version |
---|---|
docker for desktop | 2.3.0.5 |
Engine | 19.03.12 |
Notary | 0.6.1 |
Compose | 1.27.2 |
Credential Helper | 0.6.3 |
Kubernetes | v1.16.5 |
reference If you use WSL2, you can't use Docker
After making this setting, I confirmed that it works safely in WSL2.
$ docker-compose ps
Name Command State Ports
------------------------------
I'm glad I didn't have anything.
Recommended Posts