Skip to content

docs: explain named bind mounts in Compose volumes#24650

Open
buyua9 wants to merge 1 commit intodocker:mainfrom
buyua9:docs/named-binds-driver-opts-buyua9
Open

docs: explain named bind mounts in Compose volumes#24650
buyua9 wants to merge 1 commit intodocker:mainfrom
buyua9:docs/named-binds-driver-opts-buyua9

Conversation

@buyua9
Copy link
Copy Markdown

@buyua9 buyua9 commented Apr 7, 2026

The Compose volumes docs mention driver_opts, but they do not show how to use the local driver to create a named bind mount.

This adds a short explanation and example in the shared Compose volumes include so the reference page shows the type: none, o: bind, device: ... pattern directly.

The fix is intentionally small and stays scoped to one docs include file.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 7, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 8653959
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69d509833cecb10008506172
😎 Deploy Preview https://deploy-preview-24650--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@aevesdocker aevesdocker added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Apr 7, 2026
@dvdksn
Copy link
Copy Markdown
Contributor

dvdksn commented Apr 14, 2026

/review

Copy link
Copy Markdown
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

This PR adds helpful documentation for creating named bind mounts using the local driver with driver_opts in Docker Compose. The addition is well-scoped, follows the project's style guidelines, and provides a clear example of the type: none, o: bind, device: ... pattern.

Review notes:

  • ✅ Content is factually accurate
  • ✅ Follows STYLE.md guidelines (concise, direct, no hedge words)
  • ✅ Proper code block formatting
  • ✅ Internal link format is correct per AGENTS.md
  • ✅ Scope is appropriate for an include file
  • ✅ No vendored/generated content modified

No issues found.

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

Labels

area/compose Relates to docker-compose.yml spec or docker-compose binary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants