Report this

What is the reason for this report?

Docker deploy to app platform failed with error related to image

Posted on October 20, 2020

After successfull deployments, new one failed with error message

13:28:20 INFO[0020] Found cached layer, extracting to filesystem 
13:28:20 error building image: error building stage: failed to execute command: extracting fs from image: removing whiteout .wh.tmp: unlinkat //tmp: device or resource busy
13:28:20 exit status 1
13:28:20  ! Build failed (exit code 1) 

There weren’t any changes to dockerfile in project. How it could be fixed?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The issue still there, any updates?

Same problem for me. I had to change Dockerfile RUN statement to invalidate cache layer and the next deploy was successful

If you are using the “ADD” command change it to “COPY” in your Dockerfile.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.