Loading...
Loading...
Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.
npx skill4agent add rory-data/copilot managing-astro-local-envTo set up a new project, see the setting-up-astro-project skill. When Airflow is running, use MCP tools from authoring-dags and testing-dags skills.
# Start local Airflow (webserver at http://localhost:8080)
astro dev start
# Stop containers (preserves data)
astro dev stop
# Kill and remove volumes (clean slate)
astro dev kill
# Restart all containers
astro dev restart
# Restart specific component
astro dev restart --scheduler
astro dev restart --webserverrequirements.txtpackages.txtDockerfileastro dev ps# All logs
astro dev logs
# Specific component
astro dev logs --scheduler
astro dev logs --webserver
# Follow in real-time
astro dev logs -f# Bash into scheduler container
astro dev bash
# Run Airflow CLI commands
astro dev run airflow info
astro dev run airflow dags list| Issue | Solution |
|---|---|
| Port 8080 in use | Stop other containers or edit |
| Container won't start | |
| Package install failed | Check |
| DAG not appearing | Run |
| Out of disk space | |
astro dev kill
astro dev startastro dev upgrade-testDockerfileFROM quay.io/astronomer/astro-runtime:13.0.0astro dev kill && astro dev start