Skip to content

Commit

Permalink
Update docker image python version to 3.7 in entrypoint doc (apache#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrejeambrun authored Mar 7, 2023
1 parent d2cc9df commit b4ddb9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docker-stack/entrypoint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ if you specify extra arguments. For example:

.. code-block:: bash
docker run -it apache/airflow:2.6.0.dev0-python3.6 bash -c "ls -la"
docker run -it apache/airflow:2.6.0.dev0-python3.7 bash -c "ls -la"
total 16
drwxr-xr-x 4 airflow root 4096 Jun 5 18:12 .
drwxr-xr-x 1 root root 4096 Jun 5 18:12 ..
Expand All @@ -144,21 +144,21 @@ you pass extra parameters. For example:

.. code-block:: bash
> docker run -it apache/airflow:2.6.0.dev0-python3.6 python -c "print('test')"
> docker run -it apache/airflow:2.6.0.dev0-python3.7 python -c "print('test')"
test
If first argument equals to "airflow" - the rest of the arguments is treated as an airflow command
to execute. Example:

.. code-block:: bash
docker run -it apache/airflow:2.6.0.dev0-python3.6 airflow webserver
docker run -it apache/airflow:2.6.0.dev0-python3.7 airflow webserver
If there are any other arguments - they are simply passed to the "airflow" command

.. code-block:: bash
> docker run -it apache/airflow:2.6.0.dev0-python3.6 help
> docker run -it apache/airflow:2.6.0.dev0-python3.7 help
usage: airflow [-h] GROUP_OR_COMMAND ...
positional arguments:
Expand Down

0 comments on commit b4ddb9c

Please sign in to comment.