XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I would like to execute docker.build command during Jenkins pipeline , with the --add-host parameter as I want to add a line in  the /etc/host file.

      Something like: docker build t tag:latest-add-host="host:127.128.0.1" .

      I can´t find a way to do this with jenkins and docker yet, is this possible? 

      Right now my pipeline only runs  docker.build(imageNameTagged)

        Attachments

          Activity

          yiyito guillermo casco created issue -
          pjdarton pjdarton made changes -
          Field Original Value New Value
          Component/s docker-plugin [ 18724 ]

            People

            Assignee:
            vjuranek vjuranek
            Reporter:
            yiyito guillermo casco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: