Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47695

docker.withrun and docker.inside vs --volumes-from

XMLWordPrintable

      Hi,

      i wanted to use GOSS to test my docker image in a Pipeline.

      So i started a GOSS Container.

      I then started my image Container with "docker.image(image.id).inside(–volumes-from GOSS)".

      I expected to see the goss folder from GOSS Container because its declared as a volume in GOSS. But in my image Container is nothing.

      I suspect the mount from the Jenkins Workspace into the Image Container kind of overwrites the volumes-from maybe ?

      This also happens with "docker.withrun".

      I worked around that by using shell scripts but it would be nice if --volumes-from would be working.

       

       

       

       

            Unassigned Unassigned
            heinzepreller heinzepreller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: