Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17241

Copying files in multistage docker pipeline fails

    XMLWordPrintable

Details

    Description

      I get the following error when trying to copy files from a previous build stage

      #!generic
      
      Step 7/18 : COPY --from=uikit /app/binders-ui-kit.tgz  /app
      
      failed to copy files: failed to copy file: Container ID 166536 cannot be mapped to a host ID
      

      The file in question and its parent directoyr are owned by a user node (id:1000) (inside the uikit container). This is also the same user of the build container by using the USER directive.

      Attachments

        Activity

          People

            Unassigned Unassigned
            e011c4e666d5 Tom De Coninck
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: