If I quite a docker instanced (invoking
Ctrl+d, the docker container is closed.
How to detach a docker container to be a running daemon without closing it?
Docker has a detach sequence, which, by default, is
Ctrl-p + Ctrl-q.
If the docker detach sequence is overridden by the
--detach-keys="<sequence>" flag, you need to use the specified sequence instead.