@@ -132,7 +132,7 @@ if you specify extra arguments. For example:
132
132
133
133
.. code-block :: bash
134
134
135
- docker run -it apache/airflow:3.0.0 -python3.9 bash -c " ls -la"
135
+ docker run -it apache/airflow:3.0.1.dev0 -python3.9 bash -c " ls -la"
136
136
total 16
137
137
drwxr-xr-x 4 airflow root 4096 Jun 5 18:12 .
138
138
drwxr-xr-x 1 root root 4096 Jun 5 18:12 ..
@@ -144,21 +144,21 @@ you pass extra parameters. For example:
144
144
145
145
.. code-block :: bash
146
146
147
- > docker run -it apache/airflow:3.0.0 -python3.9 python -c " print('test')"
147
+ > docker run -it apache/airflow:3.0.1.dev0 -python3.9 python -c " print('test')"
148
148
test
149
149
150
150
If first argument equals to "airflow" - the rest of the arguments is treated as an airflow command
151
151
to execute. Example:
152
152
153
153
.. code-block :: bash
154
154
155
- docker run -it apache/airflow:3.0.0 -python3.9 airflow webserver
155
+ docker run -it apache/airflow:3.0.1.dev0 -python3.9 airflow webserver
156
156
157
157
If there are any other arguments - they are simply passed to the "airflow" command
158
158
159
159
.. code-block :: bash
160
160
161
- > docker run -it apache/airflow:3.0.0 -python3.9 help
161
+ > docker run -it apache/airflow:3.0.1.dev0 -python3.9 help
162
162
usage: airflow [-h] GROUP_OR_COMMAND ...
163
163
164
164
positional arguments:
@@ -363,7 +363,7 @@ database and creating an ``admin/admin`` Admin user with the following command:
363
363
--env " _AIRFLOW_DB_MIGRATE=true" \
364
364
--env " _AIRFLOW_WWW_USER_CREATE=true" \
365
365
--env " _AIRFLOW_WWW_USER_PASSWORD=admin" \
366
- apache/airflow:3.0.0 -python3.9 webserver
366
+ apache/airflow:3.0.1.dev0 -python3.9 webserver
367
367
368
368
369
369
.. code-block :: bash
@@ -372,7 +372,7 @@ database and creating an ``admin/admin`` Admin user with the following command:
372
372
--env " _AIRFLOW_DB_MIGRATE=true" \
373
373
--env " _AIRFLOW_WWW_USER_CREATE=true" \
374
374
--env " _AIRFLOW_WWW_USER_PASSWORD_CMD=echo admin" \
375
- apache/airflow:3.0.0 -python3.9 webserver
375
+ apache/airflow:3.0.1.dev0 -python3.9 webserver
376
376
377
377
The commands above perform initialization of the SQLite database, create admin user with admin password
378
378
and Admin role. They also forward local port ``8080 `` to the webserver port and finally start the webserver.
@@ -412,6 +412,6 @@ Example:
412
412
--env " _AIRFLOW_DB_MIGRATE=true" \
413
413
--env " _AIRFLOW_WWW_USER_CREATE=true" \
414
414
--env " _AIRFLOW_WWW_USER_PASSWORD_CMD=echo admin" \
415
- apache/airflow:3.0.0 -python3.9 webserver
415
+ apache/airflow:3.0.1.dev0 -python3.9 webserver
416
416
417
417
This method is only available starting from Docker image of Airflow 2.1.1 and above.
0 commit comments