nopcommerce docker container giving error when volume mounte

  docker, docker-volume, nopcommerce

I am trying to run nopcommerce inside docker container with the following command
sudo docker run --name nopcommerce -v /app:/app -p 8080:80 -d nopcommerceteam/nopcommerce

But the container is getting exited with the below error
It was not possible to find any installed .NET Core SDKs Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
But when i remove the -v flag from the docker run command container will come up with no issues.
I want to mount the whole /app folder in the host machine.

I am using Ubuntu 20.1 (groovy)
Docker version 20.10.5

Source: Docker Questions