SpinTheMic
Pro

Interview practice question

Code changes do not show up in the container

Cloud & DevOps · Docker · Beginner

You changed your code, restarted the container, but it still runs the old version. Why?

What a strong answer covers

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

  • Image contains old code; restart doesn't rebuild.
  • Rebuild image (docker build / compose up --build).
  • Recreate container from new image.
  • Cache issues: --no-cache rarely needed.
  • Bind mount for live dev.
Practise this topic

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

See all topics