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

can not attach terminal in docker container #220

Closed
zhangzheyu2simple opened this issue May 8, 2019 · 4 comments
Closed

can not attach terminal in docker container #220

zhangzheyu2simple opened this issue May 8, 2019 · 4 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@zhangzheyu2simple
Copy link

zhangzheyu2simple commented May 8, 2019

  • VSCode Version:1.34.0-insider
  • Local OS Version:Ubuntu 16.04.5 LTS 64-bit
  • Remote OS Version:python:3
  • Remote Extension/Connection Type: Docker

Steps to Reproduce:

1.after setting up vscode-remote-try-python

image
docker ps

image

2.I can not attach a terminal to the container
image

while I can run

docker exec -it 434a sh

to access into the container and everything works well

is this a bug? what does vscode do when it attaches a terminal to a container?

@zhangzheyu2simple
Copy link
Author

terminal return
execvp(3) failed :no such file or directory

@egamma egamma added the info-needed Issue requires more information from poster label May 8, 2019
@egamma
Copy link
Member

egamma commented May 8, 2019

@zhangzheyu2simple I suspect that the shell is not found. what shell do you have configured in your settings? Can you try to configure bash or sh?

image

@wilkice
Copy link

wilkice commented May 10, 2019

@zhangzheyu2simple I suspect that the shell is not found. what shell do you have configured in your settings? Can you try to configure bash or sh?

image

I had the same problem when using SSH , but solved with your settings. Thanks. 😄

@egamma egamma removed the info-needed Issue requires more information from poster label May 13, 2019
@egamma egamma assigned sandy081 and Tyriar and unassigned sandy081 May 13, 2019
@Tyriar
Copy link
Member

Tyriar commented May 13, 2019

/duplicate #38

@Tyriar Tyriar closed this as completed May 13, 2019
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label May 13, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants