-
Notifications
You must be signed in to change notification settings - Fork 206
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
Shell hangs from CLI, works from Visual Studio (OS X) #556
Comments
Hi @justinlittman, thanks for opening! I was able to use the following in the command line, working on a
Please let me know if this makes sense and works any better for you. |
|
Ah thanks for clarifying! That was implemented through #59. Does |
|
Ah got it, @chrmarti @alexander-smolyakov could you try to repro? |
Works for me on Mac:
Could you post the output you get for comparison? |
and then it hangs. |
Does |
Works:
Hangs:
|
Same here, but its not that it hangs. It actually let you type indefinitely but doesnt respond do anything:
Doing some tests, it seems to be the same as invoking docker exec without the -i argument:
(works)
(hangs) |
Can confirm that I am experiencing the same on MacOS. |
Same issue for me on macOS, $ devcontainer --version
0.46.0 |
I'm experiencing this as well. It seems like any interactive command hangs, I can't even get a prompt and have to kill my whole shell to stop the process (won't even respond to ctrl-c).
macOS 13.14.1, zsh on host, bash on container |
Using MacOS 13.2.1, running docker cli with colima. Also going through same behaviour as @jetaggart (note: killing the container with OS: MacOS 13.2.1 (also not sure if relevant: but I'm running |
OS X version: Darwin 22.5.0 (Ventura)
Docker version: Docker version 24.0.2, build cb74dfc
Docker compose version: Docker Compose version v2.18.1
VS Code version: 1.79.2 (Universal)
Devcontainer version: 0.42.0
devcontainer.json:
docker-compose.yml:
Steps to reproduce (terminal):
devcontainer up
devcontainer exec bash
(or any other shell).ls
The terminal then hangs.
Steps to reproduce (VS Code):
devcontainer up
Devcontainers: Attach to a running container ...
ls
The command executes as expected.
My apologies in advance if I am misunderstanding something about how the CLI is intended to work.
The text was updated successfully, but these errors were encountered: