Skip to content

Cannot use Docker-dependent tools like Supabase in Codex #19

@DhvanilPatel

Description

@DhvanilPatel

Hello,

I'm trying to get the Codex agent to work with my project, which uses Supabase for the backend. Locally, I run Supabase with Docker using supabase start, which is pretty standard. I was hoping to replicate a similar setup or at least allow Codex to interact with my app that depends on these services.

What I'm Running Into:

Even after getting the Supabase CLI tool installed in the Codex environment (I have a setup script that pulls down the binary), I can't actually get the Supabase services running. When supabase start tries to do its thing, it hits a wall:

failed to inspect service: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

It seems like the Docker daemon isn't running or accessible from inside the agent's container.

Why this matters for my workflow (and probably others):

A lot of us rely on Docker for local development to manage databases, backends, and other services. If Codex can't work with these Dockerized setups, it's tough to use it for tasks that involve running or testing the full application. I'd love to have Codex help with debugging API interactions or even setting up test data, but that needs the services to be running.

My Questions:

  1. Is making the Docker daemon accessible from within the Codex agent something you're considering?
  2. If running Docker services like this inside Codex isn't on the roadmap, any advice for how to best use Codex with projects that have these kinds of dependencies?

Really appreciate you looking into this. Making it easier to work with Docker-based services would be a huge win for using Codex on more complex, real-world projects.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions