'docker-compose' not found error when command was executed in Jenkins job
This was the command that i was missing
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
I executed that and jenkins was fine
Add your docker-compose executable to PATH envvar. Or use fully-specified path like this /usr/local/bin/docker-compose