-
Notifications
You must be signed in to change notification settings - Fork 516
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
Connect to remote docker host #216
Comments
There are two challenges here. First, the extension uses a mix of The second problem is when you have multiple root workspaces open. Which |
actually, I can't seem to get |
I'm sharing the same problem but the first challenge seems solvable for me: The |
Please implement this! I need to switch between local and remote Docker environment without restarting VSCode. Note that it's not just DOCKER_HOST, but also DOCKER_MACHINE_NAME, DOCKER_TLS_VERIFY and DOCKER_CERT_PATH that need to be configurable. |
+1, I would love to be able to use different docker environments per workspace, change servers without reloading VSCode, and not have to run commands before starting VSCode to connect to a remote SSL machine. |
You can set this with the setting docker.host. Am I misunderstanding something? |
Lets say i want to connect to docker engine on remote linux server (with TLS=1) from my local mac via vscode, how do we do that today ? Just changing docker.host doesn't solve it. We need DOCKER_TLS, DOCKER_TLS_VERIFY support as well. |
It would be way easier if we could install the extension on the remote host via vscode remote preview. |
Hi all - just merged #998 to support the following VS Code settings:
Feel free to try the latest build from master and let us know if it works for ya! See these instructions: https://aka.ms/azCodeInsiders |
Hi there, I'm trying to enable the tlsVerify setting and have set the value to '0' and still not able to connect to registries using self signed certificates. I'm running VSS: 1.36.1 and ms-azuretools.vscode-docker: 0.7.0 of this extension. Any idea when this will become generally available? |
@moortimis moved your comment to a new issue. #1137 |
@EricJizbaMSFT In my production scenario, we are using these env variables Could you please add these two new env variable support as well ? |
Between i tried this alpha preview of docker extension. Looks like if we just set DOCKER_HOST, DOCKER_CERT_PATH (Not settting any value for "DOCKER_TLS_VERIFY" ), TLS_VERIFY automatically kicks in. Ideally it will be great if the extension can support all the client modes mentioned in |
One more issue i observed that with docker extension explorer refresh, i see docker engine is leaking fd in every polling. With the default refresh interval of 1sec, i see docker engine pretty quickly hitting the soft limit of max open files and breaks down the engine. Before reporting to docker project, i would like to understand how this extension is querying the docker engine. Pls investigate. I am using docker engine version 18.03 and latest alpha version of this docker extension |
@sureshsankaran you can change the default refresh interval with the VS Code setting Otherwise, please create a new issue for your other comments so that we can track it separately from this already closed bug |
Currently it's possible to override the default behavior of this extension by following the steps here: https://www.axians-infoma.de/navblog/use-vs-code-docker-extension-remote-docker-host/
Which end up setting the DOCKER_HOST environment variable.
Instead can we have a setting that does the same? Allowing different docker hosts to be used depending on the workspace?
The text was updated successfully, but these errors were encountered: