VS Code SQL Extension <1.33.0> supports starting S...
# rancher-desktop
h
VS Code SQL Extension 1.33.0 supports starting SQL in docker. I tried it on my Mac M1 and even though RD is configured for Rosetta, it says this
Copy code
Please make sure Rosetta Virtualization is enabled. You can do this within your Docker Desktop settings.
Command failed: cat "/Users/username/Library/Group Containers/group.com.docker/settings-store.json" | grep '"UseVirtualizationFrameworkRosetta": true' || exit 1 cat: /Users/username/Library/Group Containers/group.com.docker/settings-store.json: No such file or directory
I'm guessing that for RD that's in a different place.
e
Screenshot 2025-06-23 at 12.51.35 PM.png
preferences -> virtual machine -> emulation
h
As I said, I have it set to use Rosetta.
e
oh clearly I cannot read lol
f
Yes it is in a different file, and grepping the file is kind of a hack. I assume this is hard-coded in the extension and not modifiable? Anyways, the corresponding command would be something like this:
Copy code
grep '"useRosetta":true' ~/Library/Preferences/rancher-desktop/settings.json
e
yeah its hardcoded into the engine check, I assume you could make a file where it is grepping and add what its looking for
f
A better way would be
Copy code
❯ rdctl list-settings | jq .virtualMachine.useRosetta
false
Yeah, you could just create the file with static content. It is kind of ugly, as it would be inside the Docker Desktop container location, but as long as you don't use Docker Desktop it doesn't matter.
💯 1