Can’t copy airflow local DAG to docker container’s dags folder (Windows)

  airflow, docker, windows

I was trying out setting up Airflow through Windows docker, found a good one here:, but got stuck in the step to copy local DAG to docker docker cp containerName:/usr/local/airflow/dags

the command I’m using here was docker cp naughty_bolbs:/usr/local/airflow/dags, the terminal shows nothing when running this command and I can’t find any copied DAGs in the container, "naughty_bolbs" is the container’s name.

This .py file works well when I was running it locally on Mac. So the file itself should not be a problem.

Do you know how can I copy local DAG to the container’s dags folder successfully on Windows?

Source: Windows Questions