There are many different blog posts and repos out there for running Claude in a container, but this was one of the first I found and I liked its simplicity (over options like this).
Made some tweaks to this so I could use it at work with our evil MITM TLS.
Seems pretty good. Limitations so far:
- Can’t run pre-commit (I could try to support this in the container, but not that bothered as I can run myself)
- Can only commit with
--no-verify(linked to above and also can’t sign my commits since I’m using 1Password for my ssh keys and it can’t trigger that from the container)
But… I feel far more comfortable running it this way and I don’t have to babysit it.