I have installed Jenkins and Docker ToolBox on same machine running on Windows 7 . While running Jenkins build, all the commands work fine except docker. When I try to run the docker command in build step using Jenkins, it gives me error.
E:\Jenkins\workspace\docker-app>docker build -t docker-app.
'docker' is not recognized as an internal or external command, operable program or batch file.
But the same command works fine for windows command prompt. Any help would be much appreciated.