Issue in installing openEMR on mac using docker

Situation
I’ve installed docker on my system only for openEMR and I used to follow official video from https://www.youtube.com/watch?v=D4tXP5G9-sY&list=PLFiWG_dDadgQT7zjqvEqbXm1OiuubOVO8 here now after giving openemr-dl command it shows an error chown: /var/www/localhost/htdocs/openemr/.git/objects/pack/pack-a31da57b8021c59e5cc0a96e75bc61a82d9f966a.pack: Permission denied when I check var folder there is no www folder and I don’t know how can I fix this I tried diffrent solution for this.

OpenEMR Version
Latest

Browser:
I’m using: chrome

Operating System
I’m using: MacbookAir M1

Search
Did you search the forum for similar questions?
yes but did’t get any proper answer

Thank in advance and much appreciated for the answer. I do have a deadline for this please help me as fast as you can.