Until version 1.21.6 the agent could use docker commands. Since then it cannot

antigravity 1.22.2 macos 26.4

I want to maintain the sandbox ON. Until version 1.21.6 the agent could run all docker commands. After that version it gets sandbox permission errors. I tried reinstalling 1.21.6 and it worked again but after a few days the system forced me to update as it wouldnt allow me to request anything without telling me the version was not supported.

Today the agent figured out that it can run docker commands by prepending

export PATH=“/usr/local/bin:/opt/homebrew/bin:$PATH” DOCKER_HOST=“unix://$HOME/.orbstack/run/docker.sock” &&

which seems to work on the few commands I tested, but is pretty annoying. Is there a fix for this?

Good luck. Gemini 3.1 keeps wanting to run unix commands in windows PowerShell lol. It feels like they are running some quantisised version of Gemini or perhaps Gemma or something?

I use opus mostly. My issue is not a model problem. Its a sandbox permissions problem.