I am trying to run docker inside a jenkins container
I have mounted docker inside the jenkins container but I can't execute the docker commands inside the container
I have given read/write permission to jenkins user but it is still not working
docker run -p 8080:8080 -p 50000:50000 -d -v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):/usr/bin/docker jenkins/jenkins:lts
I get error message the docker does not exit