The behavior and format of this command are the same for both Astro and Astro Private Cloud.
docker exec -it <container-id>.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Run a bash command in an Airflow component’s Docker container.
docker exec -it <container-id>.
astro dev bash
| Option | Description | Possible Values |
|---|---|---|
-p, --postgres | Run a bash command in the metadata database container | None |
-s,--scheduler | Run a bash command in the scheduler container | None |
-t, --triggerer | Run a bash command in the triggerer container | None |
-w, --webserver | Run a bash command in the webserver container | None |
$ astro dev bash --webserver
$ ls -al
# View all files in the webserver container
$ astro dev bash --scheduler
$ pip-freeze | grep pymongo
# Check the version of the pymongo package running in the scheduler
Was this page helpful?