Skip to content

docs: add Docker Standalone and Docker Export examples to Deploying page#90386

Merged
icyJoseph merged 46 commits intovercel:canaryfrom
kristiyan-velkov:docs/docker-examples-deploying
Feb 26, 2026
Merged

docs: add Docker Standalone and Docker Export examples to Deploying page#90386
icyJoseph merged 46 commits intovercel:canaryfrom
kristiyan-velkov:docs/docker-examples-deploying

Conversation

@kristiyan-velkov
Copy link
Contributor

What?

Updates the Deploying page Docker section to document the new and updated Docker examples and add description to old ones.

Why?

The Docker examples were added/updated in #87069. The Deploying page still only listed the generic "Docker" and "Docker Multi-Environment" templates, so the new Docker Standalone and Docker Export examples were not discoverable from the docs.

How?

  • Add Docker Standalone template linking to examples/with-docker (output: "standalone" for minimal container images).
  • Add Docker Export template linking to examples/with-docker-export-output (output: "export" for static HTML in a container).
  • Order templates as: Docker Standalone, Docker Export, then Docker Multi-Environment.

Related: This PR follows up on the merged PR #87069 (Docker examples for standalone and export output). It updates the docs so the Deploying page links to those examples.

kristiyan-velkov and others added 30 commits December 11, 2025 16:45
- Fix PORT environment variable to be explicitly a string in compose.yml
- Remove NextConfig type import from next.config.ts to fix TypeScript error
…stiyan-velkov/next.js into examples/add-docker-examples
…stiyan-velkov/next.js into examples/add-docker-examples
…stiyan-velkov/next.js into examples/add-docker-examples
…stiyan-velkov/next.js into examples/add-docker-examples
@nextjs-bot nextjs-bot added Documentation Related to Next.js' official documentation. examples Issue was opened via the examples template. labels Feb 23, 2026
@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Feb 23, 2026

Allow CI Workflow Run

  • approve CI run for commit: 0ede85e

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

The "start": "next start" script in the with-docker-export-output example throws an error because next start is incompatible with output: "export" configuration.

Fix on Vercel

@kristiyan-velkov
Copy link
Contributor Author

@icyJoseph, I’ve updated the documentation to reflect the changes in the Docker examples you merged PR #87069. I’ll also review everything carefully and adjust whatever is necessary to ensure it fully aligns with the Next.js documentation requirements.

@icyJoseph
Copy link
Collaborator

Nice, I'll try to take a look sometime soon! Thanks for the contribution 🎉

@kristiyan-velkov
Copy link
Contributor Author

Hi @icyJoseph,
Just to let you know — the changes you wanted are now done.

I’ll also start working on a separate sample guide for Next.js in the official Docker documentation. Once it’s ready, I’ll make sure it’s properly added here as well.

Thanks again for the collaboration and support — really appreciate it.

Best regards,
Kristiyan Velkov

@icyJoseph
Copy link
Collaborator

Thanks for this input!

@icyJoseph icyJoseph merged commit ae79ae5 into vercel:canary Feb 26, 2026
61 checks passed
icyJoseph added a commit that referenced this pull request Feb 27, 2026
…age (#90386)

### What?

Updates the
[Deploying](https://nextjs.org/docs/app/getting-started/deploying) page
Docker section to document the new and updated Docker examples and add
description to old ones.

### Why?

The Docker examples were added/updated in
[#87069](#87069). The Deploying
page still only listed the generic "Docker" and "Docker
Multi-Environment" templates, so the new **Docker Standalone** and
**Docker Export** examples were not discoverable from the docs.

### How?

- Add **Docker Standalone** template linking to `examples/with-docker`
(`output: "standalone"` for minimal container images).
- Add **Docker Export** template linking to
`examples/with-docker-export-output` (`output: "export"` for static HTML
in a container).
- Order templates as: Docker Standalone, Docker Export, then Docker
Multi-Environment.

---

**Related:** This PR follows up on the merged [PR
#87069](#87069) (Docker examples
for standalone and export output). It updates the docs so the Deploying
page links to those examples.

---------

Co-authored-by: Wyatt Johnson <[email protected]>
Co-authored-by: Joseph <[email protected]>
Co-authored-by: kristiyan.velkov <[email protected]>
Co-authored-by: Cursor <[email protected]>
icyJoseph added a commit that referenced this pull request Feb 27, 2026
## Summary

Backports documentation fixes and improvements from canary to the
`next-16-1` branch.

### Included commits:
- `757ab17e54` In-Depth Explanation of React Version Handling Doc
(#89426)
- `fe0bb2fc51` Next.js sticky scroll standards (#90197)
- `d13d1ba23b` docs: improve form guide consistency and validation
examples (#90361)
- `c23f3434a3` docs: fixes typo in manifest.mdx regarding Route Handler
note (#90394)
- `dcf11d111b` docs: clarify that next upgrade is for 16.1.x+ (#90435)
- `da0cbcce76` Add not-found.js / notFound() links to Status Codes
section (#88332)
- `ae79ae55eb` docs: add Docker Standalone and Docker Export examples to
Deploying page (#90386)
- `bb813afd49` docs(deploying): add Hostinger Web Apps Hosting to
Node.js deployment options (#90246)
- `15fcfb9ce4` docs: fix navigationType value and variable name in
useReportWebVitals (#90599)
- `080e1b3` docs: Accept header content negotiation (#90607)

---------

Co-authored-by: Abhishek Mardiya <[email protected]>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Jimmy Lai <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Mary Lavanitha <[email protected]>
Co-authored-by: Tyler Arthur <[email protected]>
Co-authored-by: Karl Horky <[email protected]>
Co-authored-by: Kristiyan Velkov <[email protected]>
Co-authored-by: Wyatt Johnson <[email protected]>
Co-authored-by: kristiyan.velkov <[email protected]>
Co-authored-by: agneliutkiene <[email protected]>
Co-authored-by: Mimori <[email protected]>
Co-authored-by: Joseph <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Related to Next.js' official documentation. examples Issue was opened via the examples template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants