In Docker 1.1.2 (latest), what's the correct way to detach from a container without stopping it?
So for example, if I try:
docker run -i -t foo /bin/bash
or
docker attach foo
(for already running container)
both of which get me to a terminal in the container, how do I exit the container's terminal without stopping it?
exit
and CTR+C
both stop the container.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…