Skip to content

Commit e3aadef

Browse files
authored
docs: Add note to set Airflow UID, GID (#5)
1 parent 96c5c55 commit e3aadef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Here are the steps to take to get airflow 2.0 running with docker on your machin
2121
```bash
2222
mkdir ./dags ./logs ./plugins
2323
```
24+
1. Set user permissions for Airflow to your current user
25+
```
26+
echo -e "AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0" > .env
27+
```
2428
1. Install docker desktop application if you don't have docker running on your machine
2529
- [Download Docker Desktop Application for Mac OS](https://hub.docker.com/editions/community/docker-ce-desktop-mac)
2630
- [Download Docker Desktop Application for Windows](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
@@ -34,4 +38,4 @@ docker ps
3438
```
3539
1. Open browser and type http://0.0.0.0:8080 to launch the airflow webserver
3640

37-
![](images/screenshot_airflow_docker.png)
41+
![](images/screenshot_airflow_docker.png)

0 commit comments

Comments
 (0)