Feature Request: Native Devcontainer Support in Antigravity

Hello,
I hope it helps, I managed to get devcontainers working. There were 3 problems:

  1. If you are already inside WSL, the Attach to Running Container option is not displayed when doing Ctrl+Shift+P
    It looks like the line “when”: “!remoteName” from C:\Users\AppData\Local\Programs\Antigravity\resources\app\extensions\antigravity-dev-containers\package.json
  2. You need to have wget installed in the container
  3. You must change the line of the server installation script, which is located in C:\Users\AppData\Local\Programs\Antigravity\resources\app\extensions\antigravity-dev-containers\dist\extension.js from
    if [ ! -z $(which wget) ]; then
    for
    if command -v wget >/dev/null 2>&1; then

More info at [Antigravity IDE] Dev Container: Remote server installation fails silently - #9 by Marcelo_Arevalos

With this the agent can now execute commands inside the container and take control.

1 Like