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
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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.