File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ logs internally together with other data associated to the container image.
77
88This has the effect that when recreating or updating a container, logs shown by
99` docker-compose logs ` won't show anything associated with the previous
10- instance. Use ` docker system prune ` to remove old instances and free up disc
10+ instance. Use ` docker system prune ` to remove old instances and free up disk
1111space. Keeping logs only for the latest instance is helpful when testing, but
1212may not be desirable for production.
1313
14- By default there is no limit on the log size. When using a SD-card this is
15- exactly what you want. If a runaway container floods the log with output,
16- writing will stop when the disc becomes full. Without a mechanism to prevent
17- excessive disc-writes , the SD-card would keep being written to until the flash
18- hardware [ program-erase cycle] (
14+ By default there is no limit on the log size. Surprisingly, when using a
15+ SD-card this is exactly what you want. If a runaway container floods the log
16+ with output, writing will stop when the disk becomes full. Without a mechanism
17+ to prevent such excessive writing , the SD-card would keep being written to
18+ until the flash hardware [ program-erase cycle] (
1919https://www.techtarget.com/searchstorage/definition/P-E-cycle ) limit is
2020reached, after which it is permanently broken.
2121
You can’t perform that action at this time.
0 commit comments