Docker Desktop: driver failed programming external connectivity on endpoint xxx 问题

Docker Desktop: Error response from daemon: driver failed programming external connectivity on endpoint xxx 问题

右击任务栏 Docker 图标 RestartQuit Docker Deskto 后之前正常的 jenkins 容器不会自动启动

通过命令 >docker run -u root --rm --name jenkins -d -p 8080:8080 -p 50000:50000 -v D:\jenkins\jkdata:/var/jenkins_home jenkins/jenkins 启动报错如下错误:

docker: Error response from daemon: driver failed programming external connectivity on endpoint jenkins (9af2a6b090a20850c69dcdf5fe93b301a5f1abfed1e4bd92134851a37f827fc4): Error starting userland proxy: /forwards/expose/port returned unexpected status: 500.

解决方法:

  1. Quit Docker Desktop(右击任务栏Desktop图标)
  2. 进入 Windows 任务管理器,干掉进程 com.docker.backend.exe 进程
  3. 过一会 com.docker.backend.exe 进程会自己重新启动好
  4. 再打开 Docker Desktop (双击桌面图标)
  5. 当 Docker Desktop 启动好后,jenkins 容器也自动成功正常启动完了

https://www.cnblogs.com/boazy/p/11661277.html

你可能感兴趣的:(docker)