Error during the removing docker container: Driver overlay failed to remove root filesystem: device or resource busy

Created:

2017-03-17 18:37:19 UTC

Modified:

2017-08-09 10:28:10 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error during the removing docker container: Driver overlay failed to remove root filesystem: device or resource busy

Applicable to:

  • Plesk Onyx for Linux

Symptoms

The following error occurs during the removing a Docker container:

Error: {"message":"Driver overlay failed to remove root filesystem bd43efcfa4634d67840b37a4ead1383b060b69c22c3ac27af29013d8f280dc01: remove /var/lib/docker/overlay/7e2fec9a1df58df67f2b04c9dc1d5ab702836d26451e48038cb241c5ff746fd9/merged: device or resource busy"}

Cause

Is related to the following Docker issue https://github.com/docker/docker/issues/14474 .

Resolution

Upgrade OS kernel to version 4 or above. In order to implement the solution, please contact your system administrator.

For CentOS 7, the following workaround exists:

  1. Stop the container
  2. Reboot the server
  3. Remove the container
Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    iamkingsleyf

    workaround does not seems to work

  • 0
    Avatar
    Pavel Mikhaylov

    Hello iamkingsleyf,

    Could you provide more information?

    What version of kernel did you install?

    What is the exact version of OS you have installed?

Please sign in to leave a comment.