docker-compose啓動報錯原因,當啓動的服務端口號被佔用後的錯誤

當啓動的服務端口號被佔用後的錯誤,報錯信息:

ERROR: for sc-gateway-web  Cannot start service gateway-web: failed to create endpoint sc-gateway-web on network docker-compose_sc-net: failed during hnsCallRawResponse: hnsCall failed in Win32: The process cannot access the file because it is being used by another process. (0x20)

我是win 10環境,查找端口占用的應用程序方法如下:

netstat -ano|findstr "8443"

tasklist|findstr "1204"

找到應用程序,關閉後,就能正常啓動了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章