I'm using docker in a debian 9.
After the 'docker-compose up' command, I cannot detach. with 'ctrl+p' and 'ctrl+q' (accessing directly or via ssh ).
I can detach closing the ssh console, and open again to continue.
Using "docker attach" to run commands, ctrl+p and ctrl+q, work fine.
Can I detach after do an 'docker-compose up'?
As @locus313 said, the command ‘docker-compose up -d’ is the answer.