This commit is contained in:
Jian Shen
2023-05-09 21:39:28 +08:00
parent 4f16894602
commit a4861702c6
+1
View File
@@ -12,6 +12,7 @@ with DAG(
t1 = DockerOperator(
# 刚才定义的conn id
docker_conn_id="docker_repo",
# WebServer中点击Admin -> Providers -> Docker对应的Version,如果是auto,可能会报错
api_version="2.2.0",
image='192.168.0.19:9012/comm-add:1.0.1',
# 临沂为我们的传参,python代码中, 镜像中部分代码