Docker attach no response. I ran a docker container ...
Docker attach no response. I ran a docker container on one of the terminals, on the other terminal: $ docker container ls CONTAINER ID IMAGE COMMAND CREATED . If I use the flag docker attach --sig-proxy=false minecraftbe, then I am able to quit out with CTRL-C Home / Reference / CLI reference / docker / docker compose / docker compose up Copy as Markdown Hello, I have an instance of docker (the supported image). Any help is much appreciated! After starting my containers I try to attach it but I get no response; just blinking cursor I do docker-compose up -d [+] Running 2/2 ⠿ Container mariadb Started $ docker run -d --name topdemo alpine top -b $ docker attach topdemo Mem: 2395856K used, 5638884K free, 2328K shrd, 61904K buff, 1524264K cached I have the following docker version: Docker version 1. I installed Docker on my MacBook Pro (2019) and can run docker Kernel Version No response Distro Version No response Other Software No response Repro Steps run any docker container in wsl with ubuntu image docker will crash Expected Behavior wont crash Some don't. I did figure out how to attach to the container using docker exec -it /bin/sh, but I’m curious why I can’t interact through the attach command. When I try to docker attach it just shows the cursor blinking on an empty line, there is no response to commands like ls. 5. Do this instead of attach: docker Hi everyone, When I docker attach [container] docker hangs for a second, but it's not really hanging, it just requires input to get to the container shell. With Ubuntu, you are being attached to the sh. None of them seem to respond to any other input besides CTRL-C though, if any at all. With httpd you are being attached to the apache main process, which is not a shell. I installed Docker on my MacBook Pro (2019) and can run docker Hey Everyone, I was introduced to Docker in a bootcamp and understand it, but am having a strange, but I think simple issue. This doesn't Hey Everyone, I was introduced to Docker in a bootcamp and understand it, but am having a strange, but I think simple issue. Would it be at all possible to flush stdout/stderr on docker attach thereby forcing the shell prompt to be printed or is it a bit more complex than that? That's what I personally would "expect" Hello, I have an instance of docker (the supported image). 0-dev, build c33ac60 Whenever i try to attach to a running container using this command sudo docker attach 432b858cd529 nothing happens only 2 The difference is the running process.