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

Developing inside a container on a remote Docker host #1698

Closed
RogerYong opened this issue Jun 7, 2019 · 5 comments
Closed

Developing inside a container on a remote Docker host #1698

RogerYong opened this issue Jun 7, 2019 · 5 comments
Assignees
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@RogerYong
Copy link

I have read Developing inside a container on a remote Docker host.

Is it feasible that combine the Remote-SSH and Remote-Containers?

Two vscode servers.

One vscode server runs on remote docker host. Source code, devcontainer.json and Dockerfile are saved in remote host.

The other runs in container for code intellisense, running and debugging

@vscodebot
Copy link

vscodebot bot commented Jun 7, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@weinand weinand assigned chrmarti and unassigned weinand Oct 15, 2019
@chrmarti chrmarti transferred this issue from microsoft/vscode Oct 21, 2019
@chrmarti
Copy link
Contributor

The only case where we support having a devcontainer.json remotely is when starting from a repository on GitHub. Currently only public repositories are supported (#1578), with these you can:

  • Check-in the devcontainer.json to GitHub.
  • Change docker.host (and related settings if needed) to connect to the remote Docker daemon.
  • F1 > Remote-Containers: Open Repository in Container...
  • Specify the GitHub repository.

We could think about supporting having the devcontainer.json available on an SSH host that also run a Docker daemon. The image building could be done in a container like we do for the repository case. Marking as feature request. /cc @egamma

@chrmarti chrmarti added containers Issue in vscode-remote containers feature-request Request for new features or functionality labels Oct 21, 2019
@Chuxel
Copy link
Member

Chuxel commented Oct 24, 2019

This is potentially a dupe of #20.

@chrmarti
Copy link
Contributor

True, merging with that.

/duplicate #20

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 28, 2019
@vscodebot
Copy link

vscodebot bot commented Oct 28, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Oct 28, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants