Use DAG's files of docker-compose on vscode

I’m on linux, i installed apache airflow with docker-compose with the root user (sudo su).
I cannot modify and save my files on the dags with VSCODE as i’m working with the curent user.
How can i work on my dags files of docker-compose in vscode ?