Access the command palette (Shift + Command + P/ Ctrl + Shift + P), then start typing "rebuild". Select Codespaces: Rebuild Container.