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

Docker buildx support

Is there a way to use docker buildx with wrangler deploy? I had to create a custom builder for my environment via docker buildx create but wrangler is not using it.

any examples of a worker using hono +

any examples of a worker using hono + containers?

I don't quite understand what I did, but

I don't quite understand what I did, but I seem to have an endless series of timers that constantly respawn my dead containers when i wrangler deploy they all go inactive, but then they pop back up again, presumably because of the alarm triggers πŸ’€ (just wanted to flush some logs to R2 every 60s) ...
No description

hey all - i am updating from the alpha

hey all - i am updating from the alpha to the beta to be able to have some automagic building of our image for local development. should simplify a lot of our setup, but we're using the vite plugin, and i'm unclear on support here? the image doesn't show up in .wrangler after i spin up the app. if i use wrangler dev i do see it picks up on the container and tries to build it. i'm on: wrangler 4.21.2...

I'm pushing an update to an existing

I'm pushing an update to an existing container, I get a successful reply from wrangler containers push (though, it was suspiciously fast): `` ⛅️ wrangler 4.21.2 ─────────────────── β–² [WARNING] 🚧 wrangler containers push` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose...
No description

Follow-up question - is there any good

Follow-up question - is there any good example of a simple websocket pass-through proxy for passing through websocket connections to a container?

Is there any flow which would permit

Is there any flow which would permit running an existing docker container image? I have a high-performance rust application that already has a working docker build. I would like to try to run this with limited modifications, as a spike test.

guys I am seeing coldboot times of up to

guys I am seeing coldboot times of up to 5m

I see this in the FAQ

I see this in the FAQ
Container cold starts can often be the 2-3 second range, but this is dependent on image size and code execution time, among other factors.
Is this an estimate based on a certain size container?...

@Mike Nomitch - Any suggestion with

@Mike Nomitch - Any suggestion with containers in regards to splitting video/audio conversion between containers and a vps? I heard 50mb or less for containers but I am curious your thoughts on what it can handle.

I'm trying to deploy just the hello-

I'm trying to deploy just the hello-containers example but on npm run dev it builds and hangs at Starting local server.... I can access the main page with listen endpoints but navigating to any of them results in 500 errors. All setup using defaults for that template. This is in WSL context.

The blog that announced containers are

The blog that announced containers are coming explicitly mentioned ffmpeg, but I can't see anyway of making this work. The compression example is the closest, but I don't even see how that would work when the response needs to fit inside 1MB? R2 bindings don't work with containers either, right? Is there any examples of ffmpeg to checkout?...

Still getting stuck here, I just can't

Still getting stuck here, I just can't figure out why it doesn't like my setup. - My app is definitely running on 8080 - My image is within all limits - If I pull and run the image locally everything works completely fine ...

i saw a couple of questions re: long-

i saw a couple of questions re: long-running containers (e.g. a Discord bot), is that a use case that CF containers support? it seems like this could be hacked together with a cron acting as a keepalive and a long value for sleepAfter, but are there other limitations to be aware of?

πŸ‘‹ could somebody point me in the right

πŸ‘‹ could somebody point me in the right direction. I'm setting my container's env variables like this: ``` import { Container, getRandom } from "@cloudflare/containers"; ...

A lot of pain trying to use CF

A lot of pain trying to use CF containers, from one issue to the other

am i reading this correctly that

am i reading this correctly that containers still require you to run a node cf worker and route requests to the container? I was hoping I could just deploy a docker image without any worker glue sitting in front

I'm assuming my container is not

I'm assuming my container is not starting in dev because onStart is not called (and docker ps returns nothing) but it is impossible to debug. I'm not getting any logs or error messages from inside the container, only the fetch error from the worker to the container? When deploying it is the same but I do get some messages (e.g. Error checking 4848: The container is not listening in the TCP address 10.0.0.1:4848) but still nothing useful... How can I access the logs from what is happening inside the container?...

What if I want to interact with a kv

What if I want to interact with a kv namespace within a container? Using the rest API doesn't seem to be the most optimal solution

quite a useless question, however does

quite a useless question, however does anyone know roughly when containers could expect to be released in GA (e.g. is it expected to follow the same timeline as CloudFlare Workflows: Oct 24, 2024 - beta, 6 Apr 2025 ~~ so roughly 6 months?)