question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prefect server stop

See original GitHub issue

Current behavior

There doesn’t appear to be a way to stop the prefect server and all its containers.

Proposed behavior

prefect server stop will stop all containers.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
cicdwcommented, Apr 17, 2020

Hi @tekumara - you can gracefully stop all containers with a SIGINT signal (e.g., CTRL+C).

Because prefect server start is a blocking command with a graceful shutdown mode, I don’t think there’s a benefit to adding a new CLI endpoint for stopping the containers independently of this.

1reaction
tekumaracommented, Apr 17, 2020

The prefect process doesn’t exist anymore. The hang up occurred when I upgraded macOS. When my machine rebooted, Docker Desktop started the containers again.

I killed the 6 containers using docker kill. The prefect-server docker network was left behind. So I reran prefect server start and then hit CTRL-C which removed the network. A little complicated but it worked, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

server - Prefect Docs
stop. This command stops all Prefect Server containers that are connected to the `prefect-server` network.
Read more >
How do I STOP Prefect Server? - Coda
A simple solution to track your assignments and work! Assignment Tracker. Jason Sol. Everything you need to do to apply to law school....
Read more >
Deployment with Prefect — Kedro 0.18.4 documentation
In scope of this deployment, we are interested in Prefect Server, an open-source backend that ... Remember to stop the agent with Ctrl-C...
Read more >
How to deploy flow remotly on Prefect server? - Stack Overflow
If you are getting started with Prefect, I'd recommend using Prefect 2.0 - check this documentation page on getting started and this one ......
Read more >
prefect dag scheduling — backend server, tasks, flow setup
prefect dag scheduling — backend server, tasks, flow setup. September 10, 2020. working on a dag scheduler proof-of-concept (POC) using ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found