open-wa / wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
106 stars 31 forks source link

Deattaching from docker container console not possible? #18

Closed CreativeWarlock closed 3 years ago

CreativeWarlock commented 3 years ago

Hi,

I've been amazed by your great work!

I've got a question. Please forgive me when my question is that of a beginner (since I am pretty new to Docker):

After running docker run -e PORT=9090 -p 9090:9090 openwa/wa-automate:latest

the terminal presents the QR code and then displays all the logged messages when I trigger various API calls shown on http://localhost:9090/api-docs/

But how can I de-attach from that console? Usually Ctrl+P and then Ctrl+Q allow us to detach from attached docker consoles. Also closing through Ctrl-C or any interruption does not work.

What am I doing wrong or is this a missing feature? :)

Best regards Marcel

smashah commented 3 years ago

@CreativeWarlock thanks for your patience

>  docker run -d openwa/wa-automate

should now work along with using ctrl+c to kill the process