Open chendelin1982 opened 1 year ago
官方文档:Running Airflow in Docker
airflow-init 容器用于进行初始化,会进行资源检测,要求: 内存:至少4G CPU核心:至少2个 磁盘空间:至少10G
为了安装时的权限,需要在.env 中设置AIRFLOW_UID,在linux下:
AIRFLOW_UID=0 # root用户
或者使用 :echo -e "AIRFLOW_UID=$(id -u)" > .env tips:这里在测试的时候没有设置这个环境变量,容器一直处于健康检查状态
结合官方的docker compose ,经过测试可以安装和启动成功,只要进行Websoft9的docker-library改造即可
What type of your feature request?
Do you have Clear solution
Discribe you solution here:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.