Skip to content

Commit 0eea70e

Browse files
[Containers] Remove duplicate Container-DurableObject paragraph in get-started (#31318)
* [Containers] Remove duplicate Container-DurableObject paragraph in get-started * docs: document per-object filter on DO metrics page * Revert "docs: document per-object filter on DO metrics page" This reverts commit 5fd99d1. --------- Co-authored-by: iglesiasbrandon <5313116+iglesiasbrandon@users.noreply.github.com>
1 parent 7f91f1c commit 0eea70e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/docs/containers/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ This defines basic configuration for the container:
180180
- `sleepAfter` sets the timeout for the container to sleep after it has been idle for a certain amount of time.
181181
- `envVars` sets environment variables that will be passed to the container when it starts.
182182
- `onStart`, `onStop`, and `onError` are hooks that run when the container starts, stops, or errors, respectively.
183+
183184
The `Container` class itself extends [`DurableObject`](/durable-objects/), so your subclass has access to the full Durable Object API. The Durable Object handles routing, lifecycle, and persistent state, while the container process runs your image inside a Linux VM. This means you can use [`this.ctx.storage`](/durable-objects/api/sqlite-storage-api/) to persist data that survives container restarts and resides close to the container itself.
184-
The `Container` class itself extends [`DurableObject`](/durable-objects/), so your subclass has access to the full Durable Object API. The Durable Object handles routing, lifecycle, and persistent state, while the container process runs your image inside a microVM. This means you can use [`this.ctx.storage`](/durable-objects/api/sqlite-storage-api/) to persist data that survives container restarts and resides close to the container itself.
185185

186186
Refer to the [Container class reference](/containers/container-class/) and the [low-level Durable Object container API](/durable-objects/api/container/) for more details.
187187

0 commit comments

Comments
 (0)