我正在尝试在远程服务器上运行的容器中使用vscode,但当我使用“附加Visual Studio Code”功能时,我得到了这个错误:
我已经启动了docker守护进程:
我在“docker”组中,并且能够在不使用sudo的情况下运行docker。
我正在无计可施的情况下,能否有人帮帮我?
@Romain 这是
系统信息:
Ubuntu 16.04.6 LTS;
vscode版本:
Version: 1.60.0-insider (Universal)
Commit: 699084fdb48460c68086b85b5c08f3d39055e772;
vscode Docker扩展版本:
v1.15.0
![enter image description here](https://istack.dev59.com/tvawx.webp)
![enter image description here](https://istack.dev59.com/FL8iS.webp)
![enter image description here](https://istack.dev59.com/WZnnL.webp)
@Romain 这是
ps aux | grep -i vscode
的打印输出(我只截取了我的用户ID进程的屏幕截图):
![enter image description here](https://istack.dev59.com/jhiY0.webp)
docker version --format='{{.Server.APIVersion}}'
?请确认一下VSCode是否是在你的用户下运行。 - Romainps aux | grep -i vscode
命令。 - Romain