It might be possible to use some other form of sandboxing in OSX, but I don’t know what’s available. Podman probably won’t work but Docker is actually easier to setup than Podman. For Claude Code purposes the cost of a VM to run Docker in is probably pretty minor.
Edit: Actually Podman can be installed via VM on OSX too: https://podman.io/docs/installation Although at that point you might as well use Docker since the VM is providing isolation already.
It might be possible to use some other form of sandboxing in OSX, but I don’t know what’s available. Podman probably won’t work but Docker is actually easier to setup than Podman. For Claude Code purposes the cost of a VM to run Docker in is probably pretty minor.
Edit: Actually Podman can be installed via VM on OSX too: https://podman.io/docs/installation Although at that point you might as well use Docker since the VM is providing isolation already.