Docker Community Forums

Share and learn in the Docker community.

Unable to execute eval "$(docker-machine env my-default)"


(Milindadevelop) #1

Unable to execute eval “$(docker-machine env my-default)” in command line. I’m getting below error,
"‘eval’ is not recognized as an internal or external command"


#2

eval will only work in a Linux style shell such as bash or git-bash. If you want to use Docker from the standard Windows CMD prompt, try this.

docker-machine env --shell cmd default