astro dev stop

The behavior and format of this command are the same for both Astro and Astro Private Cloud.

Pause all Docker containers running your local Airflow environment. Unlike astro dev kill, this command does not prune mounted volumes and delete data associated with your local Postgres database. If you run this command, Airflow connections and task history will be preserved.

This command can be used regularly with astro dev start to apply changes to your Astro project as you test and troubleshoot dags. For more information, read Build and run a project locally.

Usage

1astro dev stop

In standalone mode, this command stops the Airflow processes running on your machine. If you started your environment with astro dev start --standalone without setting dev.mode to standalone, pass --standalone so this command stops your standalone environment:

$astro dev stop --standalone