Why parallel builds with podman are failing with the message "error in copier subprocess error changing to intended-new-root directory" in Red Hat Enterprise Linux 8 ?

Solution Verified - Updated -

Issue

  • Why parallel builds with podman fails with the message "error in copier subprocess error changing to intended-new-root directory" in Red Hat Enterprise Linux 8 ?
  • Containerfile included an instruction for copy with --chown
Error: error building at STEP "COPY --chown=1001 . .": error in copier subprocess: error changing to intended-new-root directory "/root/test1/overlay/e7db5fcb34b509dc2499718cf7200971aadb0593fb1d724544430ea3d52f389d/merged": chdir /root/test1/overlay/e7db5fcb34b509dc2499718cf7200971aadb0593fb1d724544430ea3d52f389d/merged: no such file or directory

Environment

  • Red Hat Enterprise Linux 8
  • podman-4.0.2-6.module+el8.6.0+14877+f643d2d6 and lower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content