How to run docker command inside docker-compose Airflow2.0? #15516
Answered
by
potiuk
alihossein
asked this question in
General
-
I have install Airflow 2.0 from docker-compose. but I want to some changes and install some python packages.
but I get this error :
how can I fix this problem? and how can I install my packages inside the image? |
Beta Was this translation helpful? Give feedback.
Answered by
potiuk
Apr 25, 2021
Replies: 1 comment 7 replies
-
The best way is to build and use your own image. Dynamically adding packaged to existing images is a bad idea. See the new docker-stsck documentation for Airflow: https://airflow.apache.org/docs/docker-stack/build.html#a-pypi-package-example |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
alihossein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The best way is to build and use your own image. Dynamically adding packaged to existing images is a bad idea. See the new docker-stsck documentation for Airflow: https://airflow.apache.org/docs/docker-stack/build.html#a-pypi-package-example