New user question about C drive access

I’m relatively new to Docker and I’m trying to run a third party project in a docker container. The docker-compose and whatnot was written by the third party. When it starts up, Windows prompts me to give Docker access to “C:\”, which I obviously declined because I have no idea what it’s trying to access on my machine or why. I have run other docker images in the past (but not composed them) and have never had this access prompt come up.

How do I identify what docker is trying to access and how can I configure it to only access more specific folders rather than my entire C drive?

There are details here: https://docs.docker.com/docker-for-windows/#shared-drives

Docker needs access to your C-drive to mount Windows folders into running containers. As with anything, you shouldn’t run code that you don’t trust on your machine.