windowsdockerdevopsdocker-container

Docker container doesn't run on windows , Ports are not available


I was trying to run the docker container on windows 10 but I always get this error "Cannot start service SERVICE_NAME: Ports are not available: unable to list exposed ports: Get "http://unix/forwards/list": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" . I tried deleting the container and rebuilding it again but that is not working for me.

PS: this error is not related to a specific service, each time happens in a different service although the same service was started successfully before

Any help, please?


Solution

  • This helped me solve the same problem

    netsh winsock reset