Skip to content
Advertisement

Docker overlay2 resource is busy

I need some help with docker! 😀

When I have to deploy my application, sometimes I have this error

JavaScript

OR

JavaScript

This is my docker info output:

JavaScript

Everytime that the resource is busy error appears, I move the HASH’s directory in /var/lib/docker/(containers OR overlay2) to HASH_old directory and retry to deploy the application, used to work, but now the no such file or directory error always shows up, even after moving all the folders to _old.

Advertisement

Answer

Shutdown the buggy containers and run docker system prune -af, that will remove unused containers and images. After that just try to build and deploy, should work

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement