This was the first result on google when I pasted my error message, and it's because my arguments were out of order.
The container name has to be after all of the arguments.
docker run <container_name> -v $(pwd):/src -it
docker run -v $(pwd):/src -it <container_name>
~ Answered on 2015-12-29 02:35:13