Docker Community Forums

Share and learn in the Docker community.

Docker.sock not mapping to docker container

Hi Team,

I have install docker on windows 10 Professional operating system, on top of that i have install Jenkins, with below command.

docker run -itd -p 9090:8080 -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/jenkin_home:/var/jenkin_home jenkins:jenkins

Jenkin installed successfully, however when i execute the docker run tomcat command in jenking jobs, it is not working, it says docker command not found.

Hi

Can you try it like this ( with a double leading / )

//var/run/docker.sock:/var/run/docker.sock

Thanks for your feedback.
I will try and let you know.