Skip to content

Commit 3584455

Browse files
authored
Clarify installation of new packages in docker-compose env (apache#15433)
The problem with installing new packages in the Docker-compose environment is repeated very often in discussions on Slack, so I would like to update this tutorial to make this task easier. See: https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1618838584433200
1 parent 05a9015 commit 3584455

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/apache-airflow/start/docker.rst

+8-3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Some directories in the container are mounted, which means that their contents a
6060
- ``./logs`` - contains logs from task execution and scheduler.
6161
- ``./plugins`` - you can put your :doc:`custom plugins </plugins>` here.
6262

63+
This file uses the latest Airflow image (`apache/airflow <https://hub.docker.com/r/apache/airflow>`__). If you need install a new Python library or system library, you can :doc:`customize and extend it <docker-stack:index>`.
64+
6365
Initializing Environment
6466
========================
6567

@@ -192,10 +194,13 @@ To stop and delete containers, delete volumes with database data and download im
192194
193195
docker-compose down --volumes --rmi all
194196
195-
Notes
196-
=====
197+
FAQ: Frequently asked questions
198+
===============================
199+
200+
``ModuleNotFoundError: No module named 'XYZ'``
201+
----------------------------------------------
197202

198-
By default, the Docker Compose file uses the latest Airflow image (`apache/airflow <https://hub.docker.com/r/apache/airflow>`__). If you need, you can :doc:`customize and extend it <docker-stack:index>`.
203+
The Docker Compose file uses the latest Airflow image (`apache/airflow <https://hub.docker.com/r/apache/airflow>`__). If you need install a new Python library or system library, you can :doc:`customize and extend it <docker-stack:index>`.
199204

200205
What's Next?
201206
============

0 commit comments

Comments
 (0)