SpinTheMic
Pro

Interview practice question

App fails with a read-only root filesystem

Cloud & DevOps · Docker · Experienced

Security requires containers to run with a read-only root filesystem, and your app now crashes trying to write files. How do you make it work?

What a strong answer covers

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

  • Find write paths (errors, strace).
  • Mount tmpfs/emptyDir for /tmp, caches.
  • Volumes for real data.
  • Configure app paths (pid files, caches).
  • Keep root FS read-only.
Practise this topic

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

See all topics