How do you attach and detach from Docker's process?

后端 未结 15 876
情书的邮戳
情书的邮戳 2020-11-29 14:42

I can attach to a docker process but Ctrl+c doesn\'t work to detach from it. exit basically halts the process.

What\'s the recomm

15条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-29 15:04

    when nothing else works, open a new terminal then:

    $ ps aux | grep attach
    username      ..............  0:00 docker attach 
    username   ..............  0:00 grep --color=auto attach
    $ kill -9 
    

提交回复
热议问题