Jenkins file that uses docker-compose gives ambigous error
You need to install the Docker Commons plugin? https://plugins.jenkins.io/docker-commons/

Edit: According to this link for I would like to use Docker CLI inside of a Pipeline job 


  You need to make sure that “default” points to a docker tool inside of
  Manage Jenkins> Configure System which will also run on the os of the
  slave.