Skip to content
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 Containers commands in Remote Development #1131

Closed
enjibby opened this issue Jul 15, 2019 · 3 comments
Closed

Docker Containers commands in Remote Development #1131

enjibby opened this issue Jul 15, 2019 · 3 comments

Comments

@enjibby
Copy link

enjibby commented Jul 15, 2019

When using Remote Development extensions, the commands for Docker Containers (e.g. "View Logs", "Attach Shell") are being executed in the terminal shell. This means that, if I am remote-developing inside a docker container, the commands fail because the docker client is on the host, not inside the container.

@ejizba
Copy link
Contributor

ejizba commented Jul 17, 2019

@unfalln I'm not entirely following your scenario, but please see #954. You can force the Docker extension to run in the remote with this setting:

"remote.extensionKind": {
    "ms-azuretools.vscode-docker": "workspace"
}

If that doesn't help, please add more detailed repro steps to this issue

@vscodebot vscodebot bot closed this as completed Aug 7, 2019
@vscodebot
Copy link

vscodebot bot commented Aug 7, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@enjibby
Copy link
Author

enjibby commented Aug 7, 2019

To clarify, this is a request for some of the functionality described in #954 , primarily:

An API to create a terminal on the local machine (instead of in the container) to run commands like "Build Image"

I am looking for this moreso for the "View Logs" command to run on the local machine rather than in the container.

I will leave this closed as it is already outlined elsewhere.

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants