Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
Cloud Agent fails during setup at the Docker build step.
Even with a minimal Dockerfile (FROM ubuntu:24.04), the build fails with exit code 1.
No detailed Docker build logs are shown, and the agent never becomes usable.
As a result, no commands (e.g. echo hello) can be executed.
Steps to Reproduce
- Create a new Cloud Agent for a repository
- Use the following minimal configuration:
.cursor/environment.json:
{
“build”: {
“context”: “.”,
“dockerfile”: “.cursor/Dockerfile”
}
}
.cursor/Dockerfile:
FROM ubuntu:24.04
-
Start setup
-
Setup reaches “Setting up environment”
-
Then fails with:
“Docker image build errored (exit code: 1)” -
Agent never becomes usable and cannot run any commands
Expected Behavior
- Docker build should succeed with a minimal Dockerfile
- Setup should complete successfully
- Agent should be able to run basic commands like
echo hello
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Cursor IDE: 3.2.16
This issue occurs in Cloud Agent (Background Agent), not local IDE.
Additional Information
- This issue has persisted for several days
- It occurs even without any install commands, secrets, or environment variables
- It is reproducible with a completely minimal Dockerfile
- Previously reported related issue:
Cloud Agent fails to start (501 on save)
This seems to be a backend / infrastructure issue rather than repository configuration.
This issue blocks using Cloud Agent for team workflows.
Does this stop you from using Cursor
Yes - Cursor is unusable
