This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 3584455 Clarify installation of new packages in docker-compose env
(#15433)
3584455 is described below
commit 3584455d8cf8e9d6960c9a9acfbb602688c06d16
Author: Kamil BreguĊa <[email protected]>
AuthorDate: Mon Apr 19 16:35:35 2021 +0200
Clarify installation of new packages in docker-compose env (#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
---
docs/apache-airflow/start/docker.rst | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/docs/apache-airflow/start/docker.rst
b/docs/apache-airflow/start/docker.rst
index 20f5846..665dc93 100644
--- a/docs/apache-airflow/start/docker.rst
+++ b/docs/apache-airflow/start/docker.rst
@@ -60,6 +60,8 @@ Some directories in the container are mounted, which means
that their contents a
- ``./logs`` - contains logs from task execution and scheduler.
- ``./plugins`` - you can put your :doc:`custom plugins </plugins>` here.
+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>`.
+
Initializing Environment
========================
@@ -192,10 +194,13 @@ To stop and delete containers, delete volumes with
database data and download im
docker-compose down --volumes --rmi all
-Notes
-=====
+FAQ: Frequently asked questions
+===============================
+
+``ModuleNotFoundError: No module named 'XYZ'``
+----------------------------------------------
-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>`.
+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>`.
What's Next?
============