DeliveryHero
Containers 2 questions
- #1Log Rotation Size Limit Configuration
A container image
myapp:logappcontinuously writes logs to stdout. Without log rotation configured, Docker's log files grow unbounded, consuming disk space and potentially filling up the filesystem. - #2Memory Limit and OOM Killer
A container named
mem_testrunning from imagemyapp:memcontains a memory stress script at/app/stress_memory.sh. Currently, the container runs with unbounded memory and can consume as much RAM as available on the host, preventing the OOM (Out of Memory) killer from terminating it even when it allocates excessive memory.