Cannot COPY or ADD files during create image

XMLWordPrintable

      I am having trouble using the COPY and ADD commands in my Dockerfile, for some reason when I do something like this:

      ADD . /container/dir
      or
      ADD whatever.txt /container/dir
      or
      COPY . /container/dir
      The only thing it adds/copies is the Dockerfile, and not the rest of the contents of the build context. I've been poking around the source, but I cannot pinpoint what the issue could be.

      Caveat: My docker host is running on a different IP, and the jenkins instance is running inside a container on that host, but I'd think the docker REST client should still work in this case.

            Assignee:
            vjuranek
            Reporter:
            Jarrod Kahn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: