Docker Community Forums

Share and learn in the Docker community.

Getting error while trying to pulling nginx using docker .(system:windows 10)


(Iamranit) #1

hey,
I was trying this below command to run:
docker container run --publish 80:80 nginx

but I am getting below error:

Unable to find image ‘nginx:latest’ locally
latest: Pulling from library/nginx
2a72cbf407d6: Pull complete
04b2d3302d48: Pull complete
e7f619103861: Pull complete
Digest: sha256:35af8ef9de9bf31870874bba1034297dba67ccbd9bda4679e0d3598b9c59bf2d
Status: Downloaded newer image for nginx:latest
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint thirsty_s
840fb929f5a3894ec276b83b769500d0fe9c79f1e948d4915be91): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:80:tcp:172.17.0.2:80: input/output error.

any help???


(Raj Chaudhuri) #2

It looks like there’s something already running that’s using your port 80 - probably IIS. Try exposing the container on a different port, like so:

docker container run --publish 8080:80 nginx