ok, but it's fine if docker is the primary group? On Thursday, March 30, 2017 at 3:30:33 PM UTC-7, Nathan T wrote: > > hey guys. i have a weird problem w/ jenkins 2.52, i added the jenkins user > to the docker group, and when i run `id` locally, i get `uid=109(jenkins) > gid=114(jenkins) groups=114(jenkins),998(docker)` (which is fine) > > > <https://lh3.googleusercontent.com/-LBpEINWXsMM/WN2F7vu-rKI/AAAAAAACZv8/Xy74Bk60HYUMOKkicWpVv2GriESrEhiSwCLcB/s1600/Screen%2BShot%2B2017-03-30%2Bat%2B3.25.37%2BPM.png> > > > but when `id` is run in the jenkins pipline, i get `uid=109(jenkins) > gid=114(jenkins) groups=114(jenkins)` > > > <https://lh3.googleusercontent.com/-kvg0lNTmjXU/WN2G9kSHQgI/AAAAAAACZwI/QJndNiCTXPsbfrTboouw5VRez5mu8ITLQCLcB/s1600/Screen%2BShot%2B2017-03-30%2Bat%2B3.26.28%2BPM.jpg> > > > so I get: `Got permission denied while trying to connect to the Docker > daemon socket at unix:///var/run/docker.sock` via the jenkins pipeline run, > but docker is fine when run as the jenkins user locally on the box... > > any ideas? >
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f1db1d4a-6d99-4827-ad38-75b06dd72c45%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
