Reputation: 41
It happens when I try "docker run -d -p 80:80 docker/getting-started". I thought it because I don't have enough memory, but after I freed some space problem didn't solve. I'm running out of ideas
Upvotes: 4
Views: 15705
Reputation: 3315
I encountered this error when running docker login
without starting up the Docker Desktop on my Mac. So, don't forget to start it.
Upvotes: 2
Reputation: 5951
I had a similar problem, and realized I'd had docker installed from brew at some point in the past. I used
brew uninstall docker
Then killed all docker processes and did a Clean / Purge data, and restarted Docker Desktop. After that it took a minute or two to rebuild everything, but it worked for me.
Upvotes: 1
Reputation: 11
For me it worked with
docker run -d -p 80:80 docker/getting-started
and
run docker ps
Command results:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 83c7a6026d05 docker/getting-started "/docker-entrypoint.…" 11 seconds ago Up 9 seconds 0.0.0.0:80->80/tcp festive_beaver
Upvotes: 1