[測試] Solve Docker preventing HDD hibernation on fnOS devices

本帖最後由 zex 於 2025-7-30 23:48 編輯

FYI, AI said:
The issue of Docker preventing HDD hibernation on NAS devices is common and stems from background processes accessing disks. Based on search results, here are proven solutions:

1. Disable Container Health Checks (Primary Cause)

Docker's health checks generate disk writes every 30 seconds, blocking sleep. Solution:

For Docker Compose: Add to service definitions:
yaml

services:
  my_container:
    healthcheck:
      disable: true


2. Redirect Logs and Configs to SSD
3. Adjust Container Settings
4. .....
5. .....

Tried solution 1 in my fnOS device, it works