File tree 1 file changed +6
-6
lines changed
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.
7
7
8
8
This has the effect that when recreating or updating a container, logs shown by
9
9
` 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
11
11
space. Keeping logs only for the latest instance is helpful when testing, but
12
12
may not be desirable for production.
13
13
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] (
19
19
https://www.techtarget.com/searchstorage/definition/P-E-cycle ) limit is
20
20
reached, after which it is permanently broken.
21
21
You can’t perform that action at this time.
0 commit comments