You are not understanding what -v
does.
-v
mountains a volume (shares a directory from your system) with the container.
This means that running the following in powershell
docker run -ti -v ${PWD}:/home/shared quay.io/fenicsproject/stable:latest
will share the current directory with the container, and in the container the folder will be found at /home/shared
See for instance
and