Skip to content

Commit 973f951

Browse files
Remove unsupported wrangler options for containers (#24298)
1 parent e837ff2 commit 973f951

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

src/content/partials/workers/wrangler-commands/containers.mdx

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,14 @@ wrangler containers build [PATH] [OPTIONS]
1414

1515
- `PATH` <Type text="string" /> <MetaInfo text="optional" />
1616
- Path for the directory containing the Dockerfile to build.
17-
18-
#### Options:
19-
2017
- `-t, --tag` <Type text="string" /> <MetaInfo text="required" />
2118
- Name and optionally a tag (format: "name:tag").
2219
- `--path-to-docker` <Type text="string" /> <MetaInfo text="optional" />
23-
- Path to your docker binary if it's not on $PATH.
20+
- Path to your docker binary if it's not on `$PATH`.
2421
- Default: "docker"
2522
- `-p, --push` <Type text="boolean" /> <MetaInfo text="optional" />
2623
- Push the built image to Cloudflare's managed registry.
2724
- Default: false
28-
- `--platform` <Type text="string" /> <MetaInfo text="optional" />
29-
- Platform to build for. Defaults to the architecture supported by Workers (linux/amd64).
30-
- Default: "linux/amd64"
31-
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
32-
- Return output as clean JSON.
33-
- Default: false
3425

3526
<AnchorHeading title="`delete`" slug="containers-delete" depth={3} />
3627

@@ -42,10 +33,6 @@ wrangler containers delete <CONTAINER_ID> [OPTIONS]
4233

4334
- `CONTAINER_ID` <Type text="string" /> <MetaInfo text="required" />
4435
- The ID of the Container to delete.
45-
- `-y, --skip-confirmation` <Type text="boolean" /> <MetaInfo text="optional" />
46-
- Skip deletion confirmation prompt.
47-
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
48-
- Return output as JSON rather than a table.
4936

5037
<AnchorHeading title="`images`" slug="containers-images" depth={3} />
5138

@@ -59,8 +46,6 @@ List images in your containers registry.
5946
wrangler containers images list [OPTIONS]
6047
```
6148

62-
#### Options:
63-
6449
- `--filter` <Type text="string" /> <MetaInfo text="optional" />
6550
- Regex to filter results.
6651
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
@@ -80,13 +65,7 @@ wrangler containers images delete [IMAGE] [OPTIONS]
8065
```
8166

8267
- `IMAGE` <Type text="string" /> <MetaInfo text="required" />
83-
- Image to delete.
84-
85-
#### Options:
86-
87-
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
88-
- Return output as clean JSON.
89-
- Default: false
68+
- Image to delete of the form `IMAGE:TAG`
9069

9170
<AnchorHeading title="`info`" slug="containers-info" depth={3} />
9271

@@ -98,8 +77,6 @@ wrangler containers info <CONTAINER_ID> [OPTIONS]
9877

9978
- `CONTAINER_ID` <Type text="string" /> <MetaInfo text="required" />
10079
- The ID of the Container to get information about.
101-
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
102-
- Return output as JSON rather than a table.
10380

10481
<AnchorHeading title="`list`" slug="containers-list" depth={3} />
10582

@@ -109,9 +86,6 @@ List the Containers in your account.
10986
wrangler containers list [OPTIONS]
11087
```
11188

112-
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
113-
- Return output as JSON rather than a table.
114-
11589
<AnchorHeading title="`push`" slug="containers-push" depth={3} />
11690

11791
Push a tagged image to a Cloudflare managed registry, which is automatically integrated with your account.
@@ -122,12 +96,6 @@ wrangler containers push [TAG] [OPTIONS]
12296

12397
- `TAG` <Type text="string" /> <MetaInfo text="required" />
12498
- The name and tag of the container image to push.
125-
126-
#### Options:
127-
12899
- `--path-to-docker` <Type text="string" /> <MetaInfo text="optional" />
129-
- Path to your docker binary if it's not on $PATH.
100+
- Path to your docker binary if it's not on `$PATH`.
130101
- Default: "docker"
131-
- `--json` <Type text="boolean" /> <MetaInfo text="optional" />
132-
- Return output as clean JSON.
133-
- Default: false

0 commit comments

Comments
 (0)