Permission denied while trying to access files in container during docker-compose(UBUNTU 20.04)

  docker, docker-compose, rasa, ubuntu-20.04

I am trying to work on a project which involves using rasa, when I run sudo docker-compose up , I get the following error .
Screenshot of the error

I have also tried to just keep the container running and tried to login and create a file just to check and there as well I get the "permission denied" message.

How do I solve this permission issue?

Any help would be appreciated.

Source: Docker Questions