Mac mini not able to run docker command in jenkins shell step

Hi,

I’ve Mac mini to achieve Jenkins + Docker setup

I’m trying to run docker command inside a Jenkins shell step but always getting error Docker command not found.

I have read that on unix , one needs to add jenkins user to Docker group how to achieve same on mac ?

Thanks in advance.

Regards,
Vikram