You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@remote-host lib]# systemctl show --property ActiveState docker
ActiveState=active
[root@remote-host lib]# docker --version
Docker version 1.13.1, build cccb291/1.13.1
[root@remote-host lib]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
af7676241a24 /cont-image:stable "/usr/bin/supervis..." 29 minutes ago Up 29 minutes
Ensure ssh connectivity to remote from CLI using keybased auth.
user@local-mac ~ % ssh root@remote-host
Last login: Fri Apr 3 14:22:06 2020 from <local-ip>
[root@remote-host ~]#
Have docker.host property in settins.json
"docker.host": "ssh://root@<remote-ip>",
Now if attaching to running container i get the following error. None of the containers show up in the remote panel.
Developer tool toggle shows the following error on the console.
Triage done.
Verified that i can access the host using remote-ssh extension.
Have not set any env variables other than the docker.host in the settings.json file.
ssh-add -i to make sure the identity is added.
I checked some of the open issues #2361#975#2514 but couldnt find a solution to my issue. Am i missing something here?
Does this issue occur when you try this locally?: NA
Does this issue occur when you try this locally and all extensions are disabled?: NA
The text was updated successfully, but these errors were encountered:
After further debugging i found the issue. It is due to the OS version of docker Docker version 1.13.1 on the centos 7 release. I assume it doesnt support ssh://user@host that came in docker-ce >18.0
As soon as i uninstalled that version and installed docker-ce >18.0 (Docker version 19.03.8) on the remote host Vscode was able to see the remote containers.
Triage steps for future:
Ensure the following command docker -H ssh://user@remote-host ps shows the running containers on remote host before blaming vscode. This might require you to install docker on local machine even though it is not needed for the remote attach.
Perhaps the developer tools console could to be enhanced to show clearer error message.Anyways i am closing the issue.
Version: 1.44.0-insider
Commit: 0dbae2083aff6ff2190c8e2157be95458915d464
Date: 2020-04-03T05:52:10.484Z (15 hrs ago)
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0
Steps to Reproduce:
Triage done.
I checked some of the open issues #2361 #975 #2514 but couldnt find a solution to my issue. Am i missing something here?
Does this issue occur when you try this locally?: NA
Does this issue occur when you try this locally and all extensions are disabled?: NA
The text was updated successfully, but these errors were encountered: