docker如何进入容器后CTRL+Q无法退出?跪求大神指点

EddieChan1993 · · 3074 次点击
mqyang56
Talk is cheap,show you the code
![Screen Shot 2019-01-03 at 12.13.20 PM.png](https://static.studygolang.com/190103/f42283bcd7760ca762150abf381aaf2d.png)
#4
更多评论
mqyang56
Talk is cheap,show you the code
```shell docker run -d xxx docker exec -it xxx bash >exit ```
#1
exit会终端容器内开启的app进程,我想要通过CTRL+P+Q保持进程,同时退出容器 +
#2