Volume doesn't seems to work

docker run -p 5000:3000 --name textWithVolume -t react-app -v $(pwd):/app

This command only shows this output in the logs:

v14.16.0

If I remove the volume flag and its value, the container will start as expected, with no volume.

Anybody knows what could be the issue and how to resolve it?

Thanks,

Hello,
I assume you are on Windows because on other environments it should work like a breeze.

I did not take the course from Mosh but here is a sample from my notes talking about providing path from a Windows environment.

Actually I’m on Mac M1