I made a similar thing not long ago that lets you choose between docker, seatbelt (macOS's native sandboxing) and bubblewrap (on Linux).
I use it on macOS primarily, and have basically stopped using docker mode in favor of the native sandboxing because features like image pasting Just Work™.
This is the way Claude Code should Just Work™. Thanks for making and sharing. Hopefully someone from Anthropic sees this and incorporates it (and gives you credit and/or a job!)