cloudflare / cloudflare/containers

Error: There is no container instance that can be provided to this Durable Object, try again later

Open
#45 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
270
Forks
42
Avg merge
1d 5h
Merged PRs (30d)
4

Description

## Issue Summary

Container instances are not available on production Cloudflare Workers account, causing all container-related operations to fail with error: "There is no container instance that can be
provided to this Durable Object, try again later"

## Environment Details

- Account: Production Cloudflare Workers account (can share per request)
- Wrangler Version: 4.23.0
- Container Config: instance_type: "dev" with @cloudflare/containers SDK
- Deployment: Working locally and in tutorial examples, failing in production

## Error Details

ERROR: There is no container instance that can be provided to this Durable Object, try again later

Configuration wrangler.jsonc:
```json
{
"containers": [{
"name": "code-container",
"class_name": "CodeContainerDO",
"image": "./Dockerfile",
"instance_type": "dev"
}],
"durable_objects": {
"bindings": [{
"class_name": "CodeContainerDO",
"name": "CODE_PORTABLE"
}]
}
}
```

Steps to Reproduce

1. Deploy worker with container configuration
2. Call any endpoint that uses containerDO.start()
3. Observe error in logs

Expected Behavior

Container should start successfully as it does in tutorial examples and local development.

Current Status

- ✅ Image builds and and runs locally, container starts and is available
- ✅ Works in tutorial account/setup
- ✅ Worker deploys & builds successfully
- ❌ Container runtime unavailable in production

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.