Skip to content

docs: note max-size unit modifiers are case-insensitive - #25750

Open
locker95 wants to merge 2 commits into
docker:mainfrom
locker95:docs/max-size-unit-case
Open

docs: note max-size unit modifiers are case-insensitive#25750
locker95 wants to merge 2 commits into
docker:mainfrom
locker95:docs/max-size-unit-case

Conversation

@locker95

Copy link
Copy Markdown

The json-file / local log driver tables only listed lowercase k/m/g for max-size.

Daemon accepts either case (10m or 10M). Updated the option text so that is obvious.

Fixes #25738

Spell out that k/m/g and K/M/G are both accepted for log driver
size options.

Fixes docker#25738

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested a review from dvdksn as a code owner August 10, 2026 12:58
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit fd26dc7
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a79e42f67d557000801279a
😎 Deploy Preview https://deploy-preview-25750--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.

@github-actions github-actions Bot added the area/engine Issue affects Docker engine/daemon label Aug 10, 2026
@dvdksn

dvdksn commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Since the parenthetical already says the modifiers are case-insensitive, could we simplify this to: unit modifier (k, m, or g; case-insensitive)? Listing both cases is redundant.

Drop the redundant K/M/G listing now that case-insensitive is stated.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95

Copy link
Copy Markdown
Author

yep, simplified to just k/m/g with case-insensitive.

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

Labels

area/engine Issue affects Docker engine/daemon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modifier to max-size should be upper case?

2 participants