Hi! I am experimenting with the local prefect server. I know how to start it but how do I stop it?
04/20/2020, 1:08 PM
ctrl + c
should do the trick!
04/20/2020, 1:46 PM
Thanks! But I mean all the docker services. The terminal just responds that the serivices is running when I am starting. The containers are still running even when I shut down the terminal
04/20/2020, 1:52 PM
Ah! Apologies for that misunderstanding-- let me take a look.
Generally speaking, I'd expect Prefect Server components to spin down when you exit your terminal, but it sounds like in this case, closing your session didn't close your active processes. I'll keep an eye out for this, but your best bet in the meantime is to remove those containers using the Docker CLI or desktop app.
04/20/2020, 2:25 PM
What worked for me was to 'prefect server start' , let it attach to the container logging, then Ctrl c to trigger a graceful shutdown.