Hello,

Forgive me if the answer to this question is trivial but I'm currently 
stumped. I have a docker image that I need to login and execute as a 
specific user account which doesn't match the host's uid:gid. When I 
provide the --user <uid> argument within the param to docker.image( 
'centos:6.7').inside( '--user 600' ) the execution hangs, and I can see the 
argument to launch the container's shell script already has -u 10375:10375 
(the userid/group id of the jenkins slave node's account it's running 
through ssh). 

I was wondering two things, 

1) Is it possible to disable this behaviour? (I don't have to write out to 
the mounted workspace, so permissions issues aren't a concern). As well, 
changing the docker image to match up that slave's uid/gid isn't an option 
either.  

2) Where is the best source of documentation to read about the pipeline 
api? Both docker and pipeline in general? Are there any good books, 
resources on the topic?

Thanks,
-Steven

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b5c37ce5-3285-48c2-b231-8b5ff367e032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to