This commit is contained in:
shenjian@fangjia.com
2023-05-10 09:34:16 +08:00
parent a4861702c6
commit 7313a03f76
+3
View File
@@ -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()