Document raw Containers API alongside Container class - #33093
Open
thomasgauvin wants to merge 2 commits into
Open
Document raw Containers API alongside Container class#33093thomasgauvin wants to merge 2 commits into
thomasgauvin wants to merge 2 commits into
Conversation
thomasgauvin
requested review from
a team,
MattieTK,
danlapid,
iglesiasbrandon,
irvinebroque,
joshthoward,
lambrospetrou,
ncrouch-cflare,
rita3ko,
securitypedant,
th0m and
vy-ton
as code owners
August 28, 2026 19:38
Contributor
Review✅ No issues found in commit Code ReviewThis code review is in beta and may not always be helpful — use your judgment. No code review issues found. ConventionsNo convention issues found. Style Guide ReviewNo style-guide issues found. CommandsOnly codeowners can run commands. Post a comment with the command to trigger it.
|
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://codex-container-api-docs.previews.developers.cloudflare.com (commit 83a920b)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Contributor
|
This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:
|
Contributor
benbuzbee
reviewed
Aug 28, 2026
| end | ||
| ``` | ||
|
|
||
| A Container can only be accessed through its Durable Object. A Worker sends a request to the Durable Object, which accesses the Container through `ctx.container`. |
There was a problem hiding this comment.
"Durable Object" could link to (https://developers.cloudflare.com/durable-objects/) so people & agents starting here can learn about the Durable Object execution model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents two ways to interact with Containers:
ctx.container) for direct lifecycle control.Containerclass as an optional convenience layer.Containerclass variants.Testing
pnpm run checkgit diff --check