Ran the Docker ps from the Jenkins conatiner and listed the available Containers.īut when triggering a job from Jenkins it fails withe the below errorĭocker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post dial unix /var/run/docker.sock: connect: permission denied. etc/os-release echo "$ID")/gpg > /tmp/dkey apt-key add /tmp/dkey &Īdd-apt-repository "deb $(. Now installed he docker binaries on the Jenkins container. This Jenkins Instance will mount the host machine’s Docker socket in the container. v /var/run/docker.sock:/var/run/docker.sock Im not sure what permissions I need to change or if I can set Docker to create the socket in another location. Installed Docker and it works find and I’m able to checkout docker images.ĭeployed an Instance of Jenkins Docker container. 22nd February 2019 docker, docker-compose, docker-machine, jenkins
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |