diff --git a/dags/business/dag_comm_add.py b/dags/business/dag_comm_add.py index 425c8ac..99ce3b1 100644 --- a/dags/business/dag_comm_add.py +++ b/dags/business/dag_comm_add.py @@ -9,8 +9,9 @@ with DAG( catchup=True, description="小区自动化入库" ) as dag: - t1 = BashOperator( - task_id='comm_add_dag', - bash_command='docker pull 192.168.0.19:9012/comm-add:1.0.1', + t1 = DockerOperator( + image='192.168.0.19:9012/comm-add:1.0.1', + command='', + task_id='comm_add_dag' ) t1 \ No newline at end of file