airflow-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Joyce <>
Subject Re: Execute bash command after image startup
Date Sat, 21 Aug 2021 19:48:32 GMT
Thanks again Jarek. That was one of the formats I didn’t try. Appreciate you!


On Aug 21, 2021, at 3:46 PM, Jarek Potiuk <<>>

The image has entrypoint that accepts `bash` command and when you run your docker-compose,
you are free to provide any startup command (as long as you continue using the default entrypoint)

Your docker compose entries can specify any bash command to run for your docker containers,
for example:

    - bash
    - -c
    - |
      airflow worker

This will run "run_your_command_here" before starting the worker.

+48 660 796 129

View raw message