You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/containers/beta-info.mdx
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ by calling `get()` on their binding with a unique ID.
24
24
We plan to add official support for utilization-based autoscaling and latency-aware load balancing
25
25
in the future.
26
26
27
-
See the [Autoscaling documentation](/containers/scaling-and-routing) for more information.
27
+
See the [Autoscaling documentation](/containers/platform-details/scaling-and-routing) for more information.
28
28
29
29
### Reduction of log noise
30
30
@@ -38,7 +38,6 @@ We plan to automatically reduce log noise in the future.
38
38
39
39
The dashboard will be updated to show:
40
40
41
-
- the status of Container rollouts
42
41
- links from Workers to their associated Containers
43
42
44
43
### Co-locating Durable Objects and Containers
@@ -71,6 +70,6 @@ There are several areas where we wish to gather feedback from users:
71
70
- Do you want to integrate Containers with any other Cloudflare services? If so, which ones and how?
72
71
- Do you want more ways to interact with a Container via Workers? If so, how?
73
72
- Do you need different mechanisms for routing requests to containers?
74
-
- Do you need different mechanisms for scaling containers? (see [scaling documentation](/containers/scaling-and-routing) for information on autoscaling plans)
73
+
- Do you need different mechanisms for scaling containers? (see [scaling documentation](/containers/platform-details/scaling-and-routing) for information on autoscaling plans)
75
74
76
75
At any point during the Beta, feel free to [give feedback using this form](https://forms.gle/CscdaEGuw5Hb6H2s7).
Copy file name to clipboardExpand all lines: src/content/docs/containers/container-package.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar:
6
6
---
7
7
8
8
When writing code that interacts with a container instance, you can either use a
9
-
Durable Object directly or use the [`Container` module](https://github.com/cloudflare/containers)
9
+
[Durable Object directly](/containers/platform-details/durable-object-methods) or use the [`Container` module](https://github.com/cloudflare/containers)
10
10
importable from [`@cloudflare/containers`](https://www.npmjs.com/package/@cloudflare/containers).
Finally, you can also set build-time environment variables that are only available when building the container image via the `image_vars` field in the Wrangler configuration.
Copy file name to clipboardExpand all lines: src/content/docs/containers/get-started.mdx
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This example Worker should give you a sense for simple Container use, and provid
17
17
### Ensure Docker is running locally
18
18
19
19
In this guide, we will build and push a container image alongside your Worker code. By default, this process uses
20
-
[Docker](https://www.docker.com/) to do so. You must have Docker running locally when you run `wrangler deploy`. For most people, the best way to install Docker is to follow the [docs for installing Docker Desktop](https://docs.docker.com/desktop/).
20
+
[Docker](https://www.docker.com/) to do so. You must have Docker running locally when you run `wrangler deploy`. For most people, the best way to install Docker is to follow the [docs for installing Docker Desktop](https://docs.docker.com/desktop/). Other tools like [Colima](https://github.com/abiosoft/colima) may also work.
21
21
22
22
You can check that Docker is running properly by running the `docker info` command in your terminal. If Docker is running, the command will succeed. If Docker is not running,
23
23
the `docker info` command will hang or return an error including the message "Cannot connect to the Docker daemon".
@@ -29,9 +29,11 @@ the `docker info` command will hang or return an error including the message "Ca
29
29
30
30
Run the following command to create and deploy a new Worker with a container, from the starter template:
When you want to deploy a code change to either the Worker or Container code, you can run the following command using [Wrangler CLI](/workers/wrangler/):
37
39
@@ -40,7 +42,7 @@ When you want to deploy a code change to either the Worker or Container code, yo
40
42
When you run `wrangler deploy`, the following things happen:
41
43
42
44
- Wrangler builds your container image using Docker.
43
-
- Wrangler pushes your image to a [Container Image Registry](/containers/image-management/) that is automatically
45
+
- Wrangler pushes your image to a [Container Image Registry](/containers/platform-details/image-management/) that is automatically
44
46
integrated with your Cloudflare account.
45
47
- Wrangler deploys your Worker, and configures Cloudflare's network to be ready to spawn instances of your container
46
48
@@ -67,7 +69,7 @@ And see images deployed to the Cloudflare Registry with the following command:
67
69
68
70
Now, open the URL for your Worker. It should look something like `https://hello-containers.YOUR_ACCOUNT_NAME.workers.dev`.
69
71
70
-
If you make requests to the paths `/container/1` or `/container/2`, these requests are routed to specific containers.
72
+
If you make requests to the paths `/container/1` or `/container/2`, your Worker routes requests to specific containers.
71
73
Each different path after "/container/" routes to a unique container.
72
74
73
75
If you make requests to `/lb`, you will load balanace requests to one of 3 containers chosen at random.
0 commit comments