Task: Configure Docker Container Log Rotation to Prevent Disk Space Exhaustion
Task: Configure Docker Container Log Rotation to Prevent Disk Space Exhaustion: a task in Terminal-Lego-15k (Harbor dataset). Docker containers write logs by default to /var/lib/docker/containers/CONTAINER ID/CONTAINER ID-json.log . Without any log rotation configuration, these log files can grow…
The task
Docker containers write logs by default to `/var/lib/docker/containers/CONTAINER_ID/CONTAINER_ID-json.log`. Without any log rotation configuration, these log files can grow indefinitely and consume all available disk space on the host. Your task is to implement proper Docker log rotation configuration to prevent this…
Part of PrimeIntellect/Terminal-Lego-15k.