Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

448
Views
cannot remove 'folder': Device or resource busy

I create centos with docker and After I start the container, I would remove a directory where there are other two directories.

and I do :

rm -f -r ./folder

and I obtain:

cannot remove 'folder': Device or resource busy

Anyone can help me?

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

if you use windows, it's com.docker.backend.exe , terminate it, everything will ok.

If you know the reason why backend cause this problem, tell me.

about 4 years ago · Santiago Trujillo Report

0

Another pretty much simple answer is following:

1. Close all your terminal windows (bash, shell, etc...)

2. Start a new terminal

3. Execute your command again e.g.:

rm -f -r ./folder

4. done

Hopefully it helps others!

about 4 years ago · Santiago Trujillo Report

0

Maybe you have that folder opened up somewhere. Try lsof to find the opened folder and then sudo kill <pid>. Afterwards, I believe you can remove the folder from there.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!