I am using my old MacBook as a small server to run some docker containers. However I found a weird bug that I can't delete the directory after it has been mounted to a container. It shows resource busy
, even can't deleted it in command line with rm -rf
.
The reason is Docker Desktop default use VirtioFS
with Vitrualization Framework
. This thread will keep all files in the mounted directory open, so you can't delete it.
Just use gRPC Fuse
instead of VirtioFS
will solve this problem.