Skip to content

Commit 3b4c7ad

Browse files
authored
Updating sandboxes docs to not reference dockerhub (#25914)
1 parent 85b050d commit 3b4c7ad

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

src/content/docs/sandbox/configuration/dockerfile.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ When you run `wrangler dev` or `wrangler deploy`, Wrangler automatically builds
6868

6969
## Related resources
7070

71+
- [Image Management](/containers/platform-details/image-management/) - Building and pushing images to Cloudflare\'s registry
7172
- [Wrangler configuration](/sandbox/configuration/wrangler/) - Using custom images in wrangler.jsonc
7273
- [Docker documentation](https://docs.docker.com/reference/dockerfile/) - Complete Dockerfile syntax
7374
- [Container concepts](/sandbox/concepts/containers/) - Understanding the runtime environment

src/content/docs/sandbox/configuration/wrangler.mdx

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The minimum required configuration for using Sandbox SDK:
1818
"containers": [
1919
{
2020
"class_name": "Sandbox",
21-
"image": "docker.io/cloudflare/sandbox:0.3.3",
21+
"image": "./Dockerfile",
2222
},
2323
],
2424
"durable_objects": {
@@ -49,7 +49,7 @@ Each container is backed by its own Durable Object. The container image contains
4949
"containers": [
5050
{
5151
"class_name": "Sandbox",
52-
"image": "docker.io/cloudflare/sandbox:0.3.3",
52+
"image": "./Dockerfile",
5353
},
5454
],
5555
}
@@ -60,20 +60,7 @@ Each container is backed by its own Durable Object. The container image contains
6060
- **class_name** (string, required) - Must match the `class_name` of the Durable Object.
6161
- **image** (string, required) - The Docker image to use. Must match your npm package version.
6262

63-
For custom images, use a Dockerfile:
64-
65-
```jsonc
66-
{
67-
"containers": [
68-
{
69-
"class_name": "Sandbox",
70-
"image": "./Dockerfile",
71-
},
72-
],
73-
}
74-
```
75-
76-
See [Dockerfile reference](/sandbox/configuration/dockerfile/) for customization.
63+
See [Dockerfile reference](/sandbox/configuration/dockerfile/) for information on customizing your Docker image.
7764

7865
### durable_objects.bindings
7966

@@ -206,23 +193,6 @@ export default {
206193
}
207194
```
208195

209-
### Container image pull fails
210-
211-
**Error**: `Failed to pull container image`
212-
213-
**Solution**: Ensure you're using the correct image version (must match npm package):
214-
215-
```jsonc
216-
{
217-
"containers": [
218-
{
219-
"class_name": "Sandbox",
220-
"image": "docker.io/cloudflare/sandbox:0.3.3",
221-
},
222-
],
223-
}
224-
```
225-
226196
### Missing migrations
227197

228198
**Error**: Durable Object not initialized

0 commit comments

Comments
 (0)