I have this Airflow Task that must run docker-compose.
docker-compose
The command below works perfectly well alone as the airflow user.
docker-compose -f /home