Skip to content

[Containers] Drop local EXPOSE requirement - #33558

Open
ghostwriternr wants to merge 1 commit into
productionfrom
docs/containers-local-dev-no-expose
Open

ghostwriternr wants to merge 1 commit into
productionfrom
docs/containers-local-dev-no-expose

Conversation

@ghostwriternr

Copy link
Copy Markdown
Member

Summary

Updates the Containers local development troubleshooting section. Local wrangler dev and vite dev no longer require Docker EXPOSE metadata. The Worker connects to any listening port via getTcpPort().

Follow-up to cloudflare/workers-sdk#15711.

Documentation checklist

Local routing uses getTcpPort() against a listening process.
Dockerfile EXPOSE metadata is unused.
@ghostwriternr
ghostwriternr marked this pull request as ready for review September 21, 2026 10:32
@ghostwriternr
ghostwriternr requested review from a team and th0m as code owners September 21, 2026 10:32
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Review coverage

The ownership area is covered.

✅ 1 area already covered
Area Approved by
containers
1 file changed
gabivlj
CODEOWNERS mappings for displayed areas (1)
Pattern Owners
/src/content/docs/containers/ @mikenomitch, @th0m, @cloudflare/cloudchamber, @cloudflare/product-owners

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit 0a4869a.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-containers-local-dev-no-expose.previews.developers.cloudflare.com (commit 0a4869a)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://4a970595.previews.developers.cloudflare.com 0a4869a 2026-09-21T10:40:21.772Z Visit the dashboard ↗

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants