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-Containers: Reopen in Container' resulted in an error #6045

Closed
chrmarti opened this issue Dec 13, 2021 · 4 comments
Closed

'Remote-Containers: Reopen in Container' resulted in an error #6045

chrmarti opened this issue Dec 13, 2021 · 4 comments
Assignees
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster

Comments

@chrmarti
Copy link
Contributor

I just get a path not found error

Command 'Remote-Containers: Reopen in Container' resulted in an error (Shell server terminated (code: 1, signal: null)

Le chemin d'acc�s sp�cifi� est introuvable.
)

No logs in the dev console.
Dev container logs:

[185215 ms] Remote-Containers 0.209.3 in VS Code 1.63.0-insider (7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e).
[185214 ms] Start: Run: ssh localhost /bin/sh -c /bin/sh
[185418 ms] Start: Run in host: id -un
[318013 ms] Start: Run: ssh localhost /bin/sh -c /bin/sh
[318211 ms] Start: Run in host: id -un
[331947 ms] Start: Run: ssh localhost /bin/sh -c /bin/sh
[331964 ms] Start: Run in host: id -un

Originally posted by @rzhao271 in #5996 (comment)

@chrmarti
Copy link
Contributor Author

What do you get when you enter these commands in a local terminal:

ssh localhost /bin/sh -c /bin/sh
id -un

Does /bin/sh terminate after running id -un?

@chrmarti chrmarti self-assigned this Dec 13, 2021
@chrmarti chrmarti added containers Issue in vscode-remote containers info-needed Issue requires more information from poster labels Dec 13, 2021
@rzhao271
Copy link

The first line doesn't work, because I'm connecting to a Windows machine, so I'm guessing there's no /bin/sh. ssh localhost is fine. Also, I'm using the vscode-docs repository to repro this issue (https://github.com/microsoft/vscode-docs/blob/258a90bf0f3e08004d04fc187da968f2f70b2374/.devcontainer). Reopening the local repository in a container works fine, but local -> SSH (Windows) -> Container doesn't seem to be working.

@chrmarti
Copy link
Contributor Author

Ack, Window SSH servers are not supported yet. Opening a separate issue for that.

@chrmarti
Copy link
Contributor Author

Closing this one in favor of the shorter #6055. :)

@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants