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

后端 未结 15 841
情书的邮戳
情书的邮戳 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:09

    Check out also the --sig-proxy option:

    docker attach --sig-proxy=false 304f5db405ec
    

    Then use CTRL+c to detach

提交回复
热议问题