I'm trying to run a docker image on my windows 10 pro workstation and I'm getting this error:
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I'm running this command:
docker run -d -p 80:80 docker/getting-started
And getting this response back:
Unable to find image 'docker/getting-started:latest' locally
latest: Pulling from docker/getting-started
188c0c94c7c5: Pull complete
617561f33ec6: Pull complete
7d856acdaa9c: Pull complete
a0d3c6e28e6d: Pull complete
af69a9b963c8: Pull complete
0739f3815ad8: Pull complete
7c7b75d0baf8: Pull complete
Digest: sha256:b821569034e3b5fae03b40e64a866017067f3bf17effe185b782bdbf02179528
Status: Downloaded newer image for docker/getting-started:latest
7907f6de2b55cc2d66b5ed3a642ac1a97e5bb5ecda5fcf76ff60d7236e8fd32d
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I've tried completely uninstalling McAfee AntiVirus and turned off the local windows firewall.
I have protection at the router level, but I'm not sure that's causing the issue, and I would rather not disable that because it affects my whole home network.
How can I run docker and get past this problem?
question from:
https://stackoverflow.com/questions/65874912/cant-run-docker-on-windows-10-ports-are-not-available 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…