Codex App cannot execute Docker container tests despite Docker being available on the host

Open
#37,529 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
docker, docker-compose
Domain
desktop, devops

Research direction

No source file or test entry point is named. Reproduce the Docker-based test workflow in Codex App and collect the failing command/output, Codex and Docker versions, docker compose version, and uname -mprs; done means the workflow completes and reports its result, or clearly identifies the access restriction.

Written by the indexing model from the issue text.

Description

app bug sandbox
What version of the Codex App are you using (From “About Codex” dialog)?

Powered by Codex & OWL Version 26.803.41515

What subscription do you have?

Pro

What platform is your computer?

Darwin 27.0.0 arm64 arm

What issue are you seeing?

Codex App is unable to complete Docker-based test execution even though Docker is running and available on the host Mac.

The failure occurs when Codex tries to run or validate tests that depend on Docker containers. Codex can inspect the project and reason about the required test, but the Docker execution step does not complete successfully.

The behavior is repeatable in the same environment. We are still collecting the exact command output, Codex App version, Docker version, and host platform details so we can add a precise reproduction sequence and error text.

What steps can reproduce the bug?
  1. Open the Codex App on macOS with a local project that uses Docker-based tests.
  2. Start Docker Desktop and verify that Docker is running normally on the host.
  3. Open the project in Codex App.
  4. Ask Codex to run the project’s Docker-based test/validation workflow.
  5. Codex inspects the project and identifies the required Docker test operation.
  6. When Codex attempts to execute the Docker-dependent test, the operation does not complete successfully.
  7. Repeat the same request in the same environment; the Docker execution failure is reproducible.
What is the expected behavior?

Codex App should be able to execute the Docker-based test workflow when Docker is running and accessible on the host Mac.

If the required Docker command is valid and the containers are available, Codex should run the test, capture the result, and report whether it passed or failed.

If Codex cannot access Docker because of sandboxing, permissions, or another environment restriction, it should clearly explain the limitation and the exact reason instead of failing to complete the Docker step.

Additional information

Docker Desktop is running normally on the same Mac, and the affected workflow is a legitimate local development/test workflow using project-owned containers.

The issue appears specific to Codex App’s ability to execute or complete the Docker-dependent step, rather than Docker being unavailable generally.

We searched the existing Codex GitHub issues using terms including docker container, docker exec, and docker compose and did not find a clear duplicate matching this behavior.

We can provide additional diagnostics, including the exact failing command/output, Codex App version, Docker version, docker compose version, and uname -mprs output, after reproducing the issue again on the affected Mac.

No customer production environment is required to reproduce the problem.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.