title: Not able to access docker while jenkins build - permission denied
body: <p>I am trying a Jenkins build where it is failing while 'docker inspect', I am trying to install a maven image.</p>
  <p>Tried authorization plugins , still no luck. can somebody please assist</p>
  <p>Error:
  docker inspect -f . maven:3.6.3
  /var/jenkins_home/workspace/jenkins-devops-microservice-pipeline@tmp/durable-f4f8c34b/script.sh: 1: docker: Permission denied</p>
  <hr />
  <p>I do not see any Jenkins user</p>
  <p>root@LP-5FVJZY2:~# sudo usermod -aG docker jenkins
  usermod: user 'jenkins' does not exist</p>
  <p>my build runs with a user 'abilash' it is already a member of docker group.</p>
  <p>Tried authorization plugin to avoid the build run as root`</p>