报错:Error invoking remote method 'docker-start-container': Error: (HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:5903 -> 0.0.0.0:0: listen tcp 0.0.0.0:5903: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
![](https://img-blog.csdnimg.cn/f6f28eb67ba34948901197d1cdd91206.png)
解决方法
1.使用管理员权限在cmd中执行 net stop winnat
![](https://img-blog.csdnimg.cn/85e360795274466fb0c81513436f8acd.png)
2.启动Docker容器
3.使用管理员权限在cmd中执行 net start winnat
![](https://img-blog.csdnimg.cn/dd6e7da508cd4719b5a86f3c850041a4.png)
4.可以正常使用容器了
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)