Docker Community Forums

Share and learn in the Docker community.

Error cleaning up after pivot: remove /.pivot_root901635915: device or resource busy

Issue type:

Docker build errors with the following message:

[franz@linux] docker build .
Sending build context to Docker daemon  7.078MB
Error response from daemon: Error processing tar file(exit status 1): Error cleaning up after pivot: remove /.pivot_root901635915: device or resource busy

Deleting /var/lib/docker/* and restarting the deamon does not help. I’m a docker beginner.

OS Version/build

Linux xxxx 4.16.9-1-ARCH #1 SMP PREEMPT Thu May 17 02:10:09 UTC 2018 x86_64 GNU/Linux

App version

Docker version 18.05.0-ce, build f150324782

Steps to reproduce

Go to a directory with a Dockerfile and run

docker build .

This issue is solved, it was caused by a problematic custom setup. Thanks

Could u tell me about the “custom setup”? I meet the same problem. Thank u!

Please, man. Can you explain to us what you did?
I have the same problem and can’t solve it.

Hi, I solve the problem updating my kernel version from 5.0.21 to 5.2.4.

Try this.