Windows下启动Docker容器遇到Error invoking remote method ‘docker-start-container‘: Error解决办法

报错: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.

解决方法

1.使用管理员权限在cmd中执行 net stop winnat

 2.启动Docker容器

3.使用管理员权限在cmd中执行 net start winnat

4.可以正常使用容器了

猜你喜欢

转载自blog.csdn.net/lian740930980/article/details/128580684