docker 启动容器报错:
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:4449: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
但是通过netstat 查看也并没有发现4449端口被占用。之前也总是遇到这个问题,后面莫名奇妙又好了,今天终于在github 上找到了解决方法
github 解决方案
解决步骤
- cmd 执行
netsh int ipv[46] set dynamic tcp start=49152 num=16384
- 重启电脑