title: How to pull my own private repository's docker image using airflow DockerOperator?
body: <p>I'm using Airflow install via Docker image in AWS instance, and I have created a docker image of my project and pushed it to the GitLab container registry.
  Now I want to pull this image in airflow to run daily, I know when we pull our own private image we have to authenticate <strong>So How I can login using airflow dag, file, or any method to resolve this problem</strong>.
  My code</p>
  <pre><code>stripetos3_scheduler = DockerOperator(
      task_id='stripe-to-s3',
      image='registry.gitlab.com/mobinalhassan/stripetos3dags:latest',
      auto_remove=True,
      force_pull=True,
      dag=dag
  )
  </code></pre>