Ginster Lyman
Ginster Lyman

Reputation: 41

docker: Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory. MacOS

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

Answers (3)

gdrt
gdrt

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

samkass
samkass

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

Jyothyraj Sobhana
Jyothyraj Sobhana

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

Related Questions