启动远程开发容器时出现VSCode错误

时间:2020-05-13 06:35:09

标签: docker visual-studio-code containers

当我尝试在vs代码中打开远程docker容器时,出现以下错误。

[488 ms]开始:运行:docker build -fc:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ scripts \ volumeBootstrap.Dockerfile -t vsc-volume-引导程序c:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ scripts [569毫秒]错误:无法启动终端进程:CreateProcess失败 在新的WindowsPtyAgent(c:\ Users \ RYZEN \ AppData \ Local \ Programs \ Microsoft VS Code \ resources \ app \ node_modules.asar \ node-pty \ lib \ windows \ PtyAgent.js:77:36) 在新的WindowsTerminal(c:\ Users \ RYZEN \ AppData \ Local \ Programs \ Microsoft VS Code \ resources \ app \ node_modules.asar \ node-pty \ lib \ windowsTerminal.js:50:24) 在Object.spawn(c:\ Users \ RYZEN \ AppData \ Local \ Programs \ Microsoft VS Code \ resources \ app \ node_modules.asar \ node-pty \ lib \ index.js:28:12) 在c:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ dist \ extension.js:1:5211 在异步Object.t.runCommand(c:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ dist \ extension.js:1:8512) 在异步c:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ dist \ extension.js:1:118726 在异步Object.D处[作为cloneAndBuildRepository](c:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ dist \ extension.js:1:118585) 在异步Object.t.openDockerfileRepoDevContainer(c:\ Users \ RYZEN.vscode \ extensions \ ms-vscode-remote.remote-containers-0.117.0 \ dist \ extension.js:1:165567)

enter image description here

OS-Win 10专业版 Docker桌面-2.3.0.2

有没有人遇到此问题以及可能的解决方案,请告知。

0 个答案:

没有答案