honestly, ive been thinking on this for a bit, if i come up with something, i'll give you a shout
honestly, ive been thinking on this for a bit, if i come up with something, i'll give you a shout
sleepAfter to "10m" but it seems to be inactive in 1-2 mins alwaysfetch()ing to the Container throws a Container port not found error even after a while the Container has this.ctx.container!.start()ed, which is causing startAndWaitForPorts() to time out.Error checking 8000: The container is not listening in the TCP address 10.0.0.1:8000. Anybody else receive these error messages when trying to connect to a container?dev instances just fine.
sleepAfter time we had defined (using latest @Cloudflare/containers 0.0.16). We get a combination of A call to blockConcurrencyWhile() in a Durable Object waited for too long. The call was canceled and the Durable Object was reset. errors and this error with 5 instances sitting inactive:wrangler dev --remote because I use Durable Objects, Workflows, and Queues. Is there any workaround for this?

--dry-run option on a container project it doesn't seem to work correctly. It gets an error connecting to the Cloudflare API during the buildAndMaybePush stage.wranger login to get a new token or update whichever API token you're using to include edit rights to Containersrm -rf ~/.config/.wrangler and wrangler login hadn't helped either
wrangler login, but even with OAuth Token privileges I could not delete it.
docker run -p 8000:8000 motherduck-sse-mcp-amd64
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
[motherduck] INFO - 🦆 MotherDuck MCP Server v0.6.2
[motherduck] INFO - Ready to execute SQL queries via DuckDB/MotherDuck
[motherduck] INFO - Starting MotherDuck MCP Server
[motherduck] INFO - Using MotherDuck token to connect to database `md:`
[motherduck] INFO - Connecting to MotherDuck in SaaS mode
[motherduck] INFO - Database client initialized in `motherduck` mode
[motherduck] INFO - 🔌 Connecting to motherduck database
[motherduck] INFO - ✅ Successfully connected to motherduck database
[motherduck] INFO - Registering handlers
[motherduck] INFO - MCP server initialized in sse mode
[motherduck] INFO - 🦆 Connect to MotherDuck MCP Server at http://0.0.0.0:8000/sse
[uvicorn] INFO - Started server process [18]
[uvicorn] INFO - Waiting for application startup.
[uvicorn] INFO - Application startup complete.
[uvicorn] INFO - Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)# Containers
[[containers]]
name="transcription-containers"
class_name="TranscriptionContainer"
image="./Dockerfile"
[[durable_objects.bindings]]
name="TRANSCRIPTION_CONTAINER"
class_name="TranscriptionContainer"
# Containers
[[env.development.containers]]
class_name="TranscriptionContainer"
image="./Dockerfile"
name="transcription-containers"
[[env.development.durable_objects.bindings]]
class_name="TranscriptionContainer"
name="TRANSCRIPTION_CONTAINER"import { Container } from "@cloudflare/containers";
export class TranscriptionContainer extends Container {
// Port the container listens on (default: 8080)
defaultPort = 8080;
// Time before container sleeps due to inactivity (default: 30s)
sleepAfter = "2m";
// Environment variables passed to the container
envVars = {
MESSAGE: "I was passed in via the container class!",
};
}There is no Container instance available at this time.
This is likely because you have reached your max concurrent instance count (set in wrangler config) or are you currently provisioning the Container.
If you are deploying your Container for the first time, check your dashboard to see provisioning status, this may take a few minutes.--dry-runbuildAndMaybePush ⛅️ wrangler 4.22.0
───────────────────
Total Upload: 109.46 KiB / gzip: 26.51 KiB
Building image container-1:worker
X [ERROR] Failed to parse URL from /menpx wrangler@latest containers images list
⛅️ wrangler 4.22.0
───────────────────
Error listing images: ApiError: The image registry does not existwranger loginrm -rf ~/.config/.wrangler--- 2025-07-02T15:27:25.870Z error
✘ [ERROR] Unauthorized
---
--- 2025-07-02T15:27:25.872Z debug
Error: Unauthorized
at buildAndMaybePush (/home/vagrant/Code/hello-containers/node_modules/wrangler/wrangler-dist/cli.js:60995:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async maybeBuildContainer (/home/vagrant/Code/hello-containers/node_modules/wrangler/wrangler-dist/cli.js:62544:15)
at async deployContainers (/home/vagrant/Code/hello-containers/node_modules/wrangler/wrangler-dist/cli.js:62593:19)
at async deploy (/home/vagrant/Code/hello-containers/node_modules/wrangler/wrangler-dist/cli.js:152723:5)
at async Object.handler (/home/vagrant/Code/hello-containers/node_modules/wrangler/wrangler-dist/cli.js:81967:66)
at async Object.handler (/home/vagrant/Code/hello-containers/node_modules/wrangler/wrangler-dist/cli.js:78772:7)
---wrangler login Cannot create binding for class 'RustTaskContainer' because it is not currently configured to
implement Durable Objects. Ensure a --new-class migration has been applied to it. [code: 10061]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose