2015-08-13 0:21 GMT+02:00 Jesse Glick <[email protected]>:

> On Wed, Aug 12, 2015 at 6:08 PM, nicolas de loof
> <[email protected]> wrote:
> > Docker 1.8 introduces DOCKER_CONFIG (aka --config) which can be used to
> set
> > an alternate configuration directory
>
> Great.
>
> > IIUC current design does not support multiple executors running docker
> > commands with distinct credentials, as both will concurrently update and
> > rely on same $HOME config file.
>
> Well, it sort of works, but:
> https://issues.jenkins-ci.org/browse/JENKINS-28702


I don't think this is the sole issue.

Let's say I have slave with 2 executors, and two jobs running docker push
to registry, with distinct credentials, running concurrently
- job 1 do set .docker/config.json with credentials c1
- job 2 do set .docker/config.json with credentials c2
- job 1 do run docker push, expecting c1 well set for registry - push
fails, as c2 does not allow to push to this repository


>
>
> > To achieve this I need to enforce all KeyMaterialFactory to use the
> exact same KeyMaterialContext
>
> Did not follow any of that at first glance, but anyway better describe
> in JENKINS-28702.
>

added comment on https://issues.jenkins-ci.org/browse/JENKINS-28702


>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/CANfRfr0WUEdiXRm8_oC5zA6QhhAoHv00cMvu3BP5SBwWGGOs7A%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CANMVJzk-i_AWSpobErsuDuGwRGzwWqSaZhBhzrX2XQ7LP7%3DwNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to