Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jingliancui opened this issue Nov 13, 2018 · 3 comments

Comments

@jingliancui
Copy link

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

@carlossg
Copy link
Contributor

you have to configure your docker
ie. https://techoverflow.net/2017/03/01/solving-docker-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/

@jingliancui
Copy link
Author

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

@carlossg
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants