使用Docker 遇到 Failed to create endpoint on network nat: hnsCall failed in Win32: The process cannot…

伍迪
1 min readMar 2, 2020

--

Not sure how wise this is, but I checked the port wasn’t in use with another app and still got the error.

This has fixed the issue a couple of times for me. In an Administrative PowerShell console, run the following:

Stop-Service docker

Stop-service hns

Start-service hns

Start-Service docker

docker network prune

Partially sourced from this post.
https://stackoverflow.com/questions/53836103/failed-to-create-endpoint-on-network-nat-hnscall-failed-in-win32-the-process-c

--

--

No responses yet