MatrixManAtYrService commented on issue #22626:
URL: https://github.com/apache/airflow/issues/22626#issuecomment-1088000204
Same thing with DockerOperator
```python3
from airflow.decorators import dag
from airflow.operators.docker_operator import DockerOperator
from datetime import datetime, timedelta
@dag(schedule_interval=None, start_date=datetime(1970, 1, 1))
def hello_docker():
DockerOperator.partial(task_id="say_hi", image="bash:latest").expand(
command=[
[
"-c",
"echo Hello World",
],
[
"-c",
"echo Goodbye World",
],
]
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]