title: Running DBT within Airflow through the Docker Operator
body: <p>Building my question on <a href="https://stackoverflow.com/questions/64890144/how-to-run-dbt-in-airflow-without-copying-our-repo">How to run DBT in airflow without copying our repo</a>, I am currently running airflow and syncing the dags via git. I am considering different option to include DBT within my workflow. One suggestion by <a href="https://stackoverflow.com/users/3823815/louis-guitton">louis_guitton</a> is to Dockerize the DBT project, and run it in Airflow via the <a href="https://airflow.apache.org/docs/apache-airflow-providers-docker/stable/_api/airflow/providers/docker/operators/docker/index.html" rel="noreferrer">Docker Operator</a>.</p>
  <p>I have no prior experience using the Docker Operator in Airflow or generally DBT. I am wondering if anyone has tried or can provide some insights about their experience incorporating that workflow, my main questions are:</p>
  <ol>
  <li>Should DBT as a whole project be run as one Docker container, or is it broken down? (for example: are tests ran as a separate container from dbt tasks?)</li>
  <li>Are logs and the UI from DBT accessible and/or still useful when run via the Docker Operator?</li>
  <li>How would partial pipelines be run? (example: wanting to run only a part of the pipeline)</li>
  </ol>