Re: Jenkins user is no member of docker group

2021-04-30 Thread Chris Dams
Hello All, I found out what the problem was. It turns out that in the Jenkinsfile the agent was 'dockerfile' so it actually was running docker inside docker. The outer docker invocation is where it lost the groups. Adding a simple -u option with the correct groups to the outer docker arguments

Jenkins user is no member of docker group

2021-04-29 Thread Chris Dams
Dear all, I have a jenkins slave running on linux (jenkins version 2.249.2). The strange thing is that when I log into this slave via ssh using the jenkins account I can see (using the groups command) that 'jenkins' is member of some groups, including the docker group. However, when I put an