从官方网站下载docker compose:
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.1.0/docker-compose.yaml'
执行命令:
docker-compse up airflow-init
然后
docker-compose up -d
所有docker容器都是健康的:
Name Command State
Ports
--------------------------------------------------------------------------------------------------------------------------------
airflow_airflow-init_1 /usr/bin/dumb-init -- /ent ... Exit 0
airflow_airflow-scheduler_1 /usr/bin/dumb-init -- /ent ... Up (healthy) 8080/tcp
airflow_airflow-webserver_1 /usr/bin/dumb-init -- /ent ... Up (healthy) 0.0.0.0:8080->8080/tcp,:::8080->8080/tcp
airflow_airflow-worker_1 /usr/bin/dumb-init -- /ent ... Up (healthy) 8080/tcp
airflow_flower_1 /usr/bin/dumb-init -- /ent ... Up (healthy) 0.0.0.0:5555->5555/tcp,:::5555->5555/tcp, 8080/tcp
airflow_postgres_1 docker-entrypoint.sh postgres Up (healthy) 5432/tcp
airflow_redis_1 docker-entrypoint.sh redis ... Up (healthy) 0.0.0.0:6379->6379/tcp,:::6379->6379/tcp
我转到UI启动示例\u bash\u操作符,它从未结束,结束已经“尚未结束”数小时,在调度程序、工作程序或Web服务器上没有错误日志
我能做什么
请务必打开DAG
相关问题 更多 >
编程相关推荐