SpinTheMic
Pro

Interview practice question

Slow file operations with bind mounts on macOS

Cloud & DevOps · Docker · Intermediate

On macOS, your app in Docker is very slow when using bind-mounted source code, especially with many small files like node_modules. How do you improve it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Docker Desktop runs Linux VM; file sharing overhead.
  • Use named volume for node_modules/dependencies.
  • Enable faster file sharing options (VirtioFS, synchronized file shares).
  • Mount only needed folders.
  • Consider dev containers.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics