Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

@Mike Nomitch any news on the geographic

@Mike Nomitch | Workers PM any news on the geographic placement issue you mentioned a couple of weeks back? I'm based in SF and getting almost exlusively Asia containers
No description

Hey, is there a way to run integration

Hey, is there a way to run integration tests using a Container DO? I've tried setting it up but keep running into Error: Container is not enabled for this durable object class. Have you correctly setup your wrangler.toml?...

Container eviction

Anybody elses containers being consistently being evicted after approx 2 minutes? I'm starting up a container manually using the start method so that I can provide a JOB_ID environment variable to the container. The job starts up and begins processing for roughly 2 minutes before dying? Is this normal? Btw I'm setting the sleepAfter option to 24h

Has anyone had success with containers

Has anyone had success with containers on ARM based macs? getting container errors on both base OS and in a devcontainer on mac. Everything seems to be configured correctly but can't get it to fetch properly. Even the cloudflare examples don't seem to be working. Haven't tested on an x86 machine yet

Hello ,

Hello , I’ve spent the past 4–5 days exploring Cloudflare Containers. While the idea is impressive—especially for someone like me who runs multiple services on AWS and Azure containers—the platform is still in beta and lacks maturity. There are too many limitations right now for production use. After trying to make it work, I realized I was spending more time troubleshooting than building. So I’ve decided to put it on hold for now and focus on actual development work. ...

Hey guys, this may be a noob question,

Hey guys, this may be a noob question, but is CF containers strictly serverless? Can we host long running services like FastAPI / ARQ similar to how it works in k8s? Cost is a not of concern here. Just had enough dealing with AKS

I'm getting this after manually deleting

I'm getting this after manually deleting container and associated DO from workers dashboard ``` 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] ...

Is there a way to keep at least one

Is there a way to keep at least one minimum instance running to avoid cold start delays?
No description

Anyone seen this before when pushing

Anyone seen this before when pushing their image? ```npx wrangler@latest containers images list ⛅️ wrangler 4.22.0...

What's going on? The container doesn't

What's going on? The container doesn't even have any log information.

Found a bug when using `--dry-run`

Found a bug when using --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. ``` ⛅️ wrangler 4.22.0 ─────────────────── Total Upload: 109.46 KiB / gzip: 26.51 KiB...

Containers are available in public beta ...

Hi all, how to overcome "Unauthorized" error during wrangler deploy? I've used deploy to cloudflare with hello-containers template from here https://blog.cloudflare.com/containers-are-available-in-public-beta-for-simple-global-and-programmable/...
No description

Is there any plan of GPU support?

Is there any plan of GPU support?

Should I configure a separate container

Should I configure a separate container per environment (staging vs production) in my wrangler.jsonc? Injected env variables would be different depending on the environment but the image itself will be the same.

Container + R2 + Worker workflow is not

Container + R2 + Worker workflow is not ideal: I am using a separate container service to upload a PDF with a QR code to a remote R2 using the S3 API. My Worker accesses the uploaded PDF from R2 and emails it to the user. This works fine in staging and production but not in development, since the Worker uses a local R2 instance instead of the remote one. I can't use wrangler dev --remote because I use Durable Objects, Workflows, and Queues. Is there any workaround for this?

have anyone gotten "there is no

have anyone gotten "there is no container instance that can be provided to this durable object" after deployed?

Hey team, was wondering if it was

Hey team, was wondering if it was possible to increase the 2gb image size limit for containers? Would ideally like for it to be 10GB

Containers are pretty unusable for us at

Containers are pretty unusable for us at the moment. We get a combination of failures on the majority of requests because instances are inactive (even though we removed the 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:
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.
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.
...

I'm trying to deploy a Cloudflare

I'm trying to deploy a Cloudflare container. It works occasionally, but most of the time I encounter the following error: {"error":"Internal server error","message":"A call to blockConcurrencyWhile() in a Durable Object waited for too long. The call was canceled and the Durable Object was reset."} Has anyone come across this issue before or have any reference on how to fix it?...

I've encountered an inconsistency with

I've encountered an inconsistency with how wrangler dev and wrangler deploy handle Docker build contexts. The Issue: When I place my Dockerfile in a subdirectory (e.g., cf-worker/containers/project-a/Dockerfile) and set the image field in wrangler.jsonc to './containers/project-a/Dockerfile': wrangler dev builds successfully...