Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Gemini CLI error

Gemini CLI: Sandbox image '<image>' is missing or could not be pulled

Error message
Sandbox image '<image>' is missing or could not be pulled. Please check the image name, your network connection, or notify gemini-cli-dev@google.com if the issue persists.

Status: By designLast verified 3 documented fixes3 sources

What it means

Sandboxing is enabled (Docker or Podman) but the sandbox container image is not present locally and could not be pulled. The CLI exits with code 44 (FatalSandboxError).

Causes

  • The configured sandbox image name is wrong, or the image could not be pulled (for example, no network access to the registry).

How to fix it

  1. Fix 1.

    Check the image name and your network connection, as the error message says. Contact gemini-cli-dev@google.com if it persists.

  2. Fix 2.

    For the local development image, the message instead says: "Try running npm run build:all or npm run build:sandbox under the gemini-cli repo to build it locally, or check the image name and your network connection."

    Terminal
    npm run build:sandbox
  3. Fix 3.

    For sandbox-restricted operations ("Operation not permitted", "Permission denied"), see the Sandboxing configuration docs.

More Gemini CLI errors

All 19 Gemini CLI errors

FAQ

What does "Sandbox image '<image>' is missing or could not be pulled" mean in Gemini CLI?

Sandboxing is enabled (Docker or Podman) but the sandbox container image is not present locally and could not be pulled. The CLI exits with code 44 (FatalSandboxError).

How do I fix "Sandbox image '<image>' is missing or could not be pulled"?

There are 3 documented fixes. Start with the first: Check the image name and your network connection, as the error message says. Contact gemini-cli-dev@google.com if it persists.

Is this Gemini CLI error fixed?

Status: By design. Expected behavior, not a bug. The documented fixes change the setup that triggers it.

Sources

Last verified against 3 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.