Urgent.News

What's breaking now, across thousands of outlets.

More in Culture

Persisting Claude CLI Login Between Container Builds

Goal Keep Claude Code's account/session login ( ~/.claude.json ) alive across devcontainer rebuilds, instead of having to re-authenticate every time the image is rebuilt.

  • Claude CLI stores account info in ~/.claude.json
  • Persistent file lost during container rebuilds
  • Solution: create directory, mount volume, link file

More from Thursday 13 August →