Skip to content

Commit 2586dec

Browse files
committed
docs: document log-opts for "dual logging" cache
These options are available in Docker 20.10 and up, but were previously only available in Docker EE, and not documented. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 04dad42 commit 2586dec

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/reference/commandline/dockerd.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,10 @@ This is a full example of the allowed configuration options on Linux:
14001400
"log-driver": "json-file",
14011401
"log-level": "",
14021402
"log-opts": {
1403+
"cache-disabled": "false",
1404+
"cache-max-file": "5",
1405+
"cache-max-size": "20m",
1406+
"cache-compress": "true",
14031407
"env": "os,customer",
14041408
"labels": "somelabel",
14051409
"max-file": "5",

0 commit comments

Comments
 (0)