Board logo

標題: [測試] Solve Docker preventing HDD hibernation on fnOS devices [打印本頁]

作者: zex    時間: 2025-7-30 23:38     標題: 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





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2