0

我的气流在一个 IP 上。我的 Docker 映像托管在另一个 IP 上。如何使用 docker 运算符从气流中安排我的 docker 映像。

`

t2 = DockerOperator(
        task_id='docker_command',
        image='my_image:latest',
        api_version='auto',
        auto_remove=True,
        command='',
        docker_url="tcp://1.1.1.1:2375" (not the actual ip)
        network_mode="bridge"
        )

`

4

0 回答 0