-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker ssh : docker_host does not support ipv6 ssh addresses #1533
Comments
I should add that docker -H doesn't seem to accept the ipv6 address either. In the extension code, I only see a regex for something that starts with ssh://, so it should work. |
DOCKER_HOST=ssh://... uses the remote docker.sock via client |
This could be an issue with the way |
@karolz-ms do you think this might work with the |
@bwateratmsft I think there is a good chance that #1790 will fix this. Will try to verify next week. |
Sorry for long delay, it was only last week that I was finally able to figure out how to create and SSH over IPv6 into an Azure VM, so I could test the scenario. Unfortunately it does not work, at leas on a Mac. Investigating... |
OK, it actually works, one just needs to specify the username part of the SSH URL, even if the default works just fine with Docker CLI. So docker context create mycontextname --docker "host=ssh://username@machine-name" IPv6 address and/or machine name that represents the AAAA DNS record should work as |
(VSCode Docker extension version 1.1.0 or later) |
It's actually much more than aliases. There can be various proxy commands etc, that are setup in a ssh connection. Do not use |
Docker host environment variable should support ipv6 as well.
Steps to Reproduce:
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: