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

Remote-SSH + Remote-Containers #3249

Closed
itzsimpl opened this issue Jun 23, 2020 · 2 comments
Closed

Remote-SSH + Remote-Containers #3249

itzsimpl opened this issue Jun 23, 2020 · 2 comments
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s)

Comments

@itzsimpl
Copy link

  • VSCode Version: 1.47.0-insider
  • Local OS Version: Catalina 15.5.5
  • Remote OS Version: Ubuntu 18.04
  • Remote Extension/Connection Type: SSH/Docker/WSL
    Remote-SSH + Remote-Containers
    Steps to Reproduce:
  1. Use Remote-SSH to open folder on remote

  2. the .devcontainer/devcontainer.json is not detected, although present; if I open the same folder locally the file will be detected and offer to reopen to develop in a container

  3. if I click on Remote Explorer and choose Containers the containers running on the remote will be visible; however, if I click on the + sign in the containers pane, the following list of commands becomes available: "Open Current Folder in Container, Open Folder in Container, ...", but none of them has any effect

  4. If I open "Command Palette" some of the Remote Container commands are missing, notably
    On local machine

image

On remote
image


Note that, by setting remote.host to point to the same remote, I am able to use a local folder with the corresponding .devcontainer/devcontainer.json to start a dev container on the remote. This means however, that I need to have two copies of the code, one local, one remote (which is eventually mounted into the container). Furthermore, if I change the code in the container, the change is visible on the remote, but I need to go through the hassle of synching with the local machine.

Since I have the possibility to SSH on the remote, I would like a possibility to keep only one version of the code, i.e. on the remote. But in order to do that, the Remote-Containers commands need to work also on the remote while using Remote SSH.

@github-actions github-actions bot added the containers Issue in vscode-remote containers label Jun 23, 2020
@chrmarti
Copy link
Contributor

/duplicate #2994

@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2020
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)
Projects
None yet
Development

No branches or pull requests

3 participants
@itzsimpl @chrmarti and others