在Windows 10的Laradock Docker上启动工作区时出现权限错误

时间:2019-05-18 16:49:12

标签: docker docker-compose

每次在Laradock上启动docker-compose up时,在Windows 10上收到工作区laradock的权限错误。我尝试重新启动但不起作用。

PS D:\projects\sites\laradock> docker-compose up -d nginx mysql phpmyadmin redis workspace
laradock_redis_1 is up-to-date
laradock_mysql_1 is up-to-date
laradock_docker-in-docker_1 is up-to-date
laradock_phpmyadmin_1 is up-to-date
Starting laradock_workspace_1 ... error

ERROR: for laradock_workspace_1  Cannot start service workspace: driver failed programming external connectivity on endpoint laradock_workspace_1 (cc289cd2758bb1c99d3f8aab7243220a94078e19b2a1f4a08e4b0b01fbba64a3): Error starting userland proxy: Bind for 0.0.0.0:2222: unexpected error Permission denied

ERROR: for workspace  Cannot start service workspace: driver failed programming external connectivity on endpoint laradock_workspace_1 (cc289cd2758bb1c99d3f8aab7243220a94078e19b2a1f4a08e4b0b01fbba64a3): Error starting userland proxy: Bind for 0.0.0.0:2222: unexpected error Permission denied
ERROR: Encountered errors while bringing up the project.

2 个答案:

答案 0 :(得分:0)

我认为您可以找到答案here。简而言之,您应该执行以下命令netcfg -d,这将清理所有网络设备,并需要重新启动

答案 1 :(得分:0)

如果已在Windows上安装此更新,则可以尝试将其删除并再次测试: Windows-update

更多信息: github