Docker: Windows container image pipline builds' show error docker :permission denied

Created on 13 Nov 2018  路  3Comments  路  Source: jenkinsci/docker

win 10 profession newest version
Docker version 18.06.1-ce, build e68fc7a
docker pull jenkins/Jenkins:lts

cmd command windows:

docker run -d -u root -v /bin/docker:/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v D:\DockerAbouts\jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts

Then use the Team foundation server plugin connect to get the project files.
And in the Jenkinsfile have this: docker pull xxx

console ouput :

docker :permission denied

All 3 comments

@carlossg
Hi sudo usermod -a -G docker $USER is no use in docker whicn on windows.

you have to find how to do it for windows in Docker docs

Was this page helpful?
0 / 5 - 0 ratings