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

后端 未结 15 868
情书的邮戳
情书的邮戳 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 14:50

    1. Open a new terminal
    2. Find the running container Id docker ps
    3. Kill the container docker kill ${containerId}

提交回复
热议问题