docker: executable file not found in $PATH

The Solution to docker: executable file not found in $PATH is


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.

Bad:

docker run <container_name> -v $(pwd):/src -it

Good:

docker run -v $(pwd):/src -it <container_name>

~ Answered on 2015-12-29 02:35:13


Most Viewed Questions: