From 7313a03f76179f14e36a88dfd87fe876adc2a438 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Wed, 10 May 2023 09:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/dag_comm_add.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dags/business/dag_comm_add.py b/dags/business/dag_comm_add.py index 410f6f6..0d45074 100644 --- a/dags/business/dag_comm_add.py +++ b/dags/business/dag_comm_add.py @@ -14,6 +14,9 @@ with DAG( docker_conn_id="docker_repo", # WebServer中点击Admin -> Providers -> Docker对应的Version,如果是auto,可能会报错 api_version="2.2.0", + auto_remove=True, + docker_url='unix://var/run/docker.sock', + network_mode='bridge', image='192.168.0.19:9012/comm-add:1.0.1', # 临沂为我们的传参,python代码中, 镜像中部分代码 # @ click.command()