I have a windows 10 with docker installed. I enter the docker container by docker attach Container_ID
. Then I know how to detach (ctrl+p, ctrl+q
). If I enter top
command, and press ctrl+c
, the top
command will stop.
However, when I press ctrl+z
, I will be detached from the container rather than suspend the top
command (put it to the background).
I tried to use --sig-proxy=false
, it does not work. And I do not understand the direction of the proxy (host to guest or guest to host?) I know that SIGSUSP should be send to the process in the docker. But it seems that the docker did not receive the signal.
I am using the cmd
in win10.