AzerothCore Docker, can't detach after a 'docker-compose up'

569 Views Asked by At

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'?

2

There are 2 best solutions below

0
On BEST ANSWER

As @locus313 said, the command ‘docker-compose up -d’ is the answer.

1
On

"Ctrl + Z" two times. It suspends current processes after "docker-compose up" and you get back to console. You might want to do "docker-compose down" and then "docker-compose up -d" after you got back to console just to be safe.