Docker container's drivedb is not regularly updated. I have a drive in my storage node which is not in the docker's database. I updated the db on the host, and the entry exists. I was able to find and map the smartd database inside the docker container by adding this:
volumes:
- /var/lib/smartmontools/drivedb/drivedb.h:/usr/share/smartmontools/drivedb.h:ro
This works, but it would seemingly be better if this was managed inside the container, perhaps by calling "update-smart-drivedb" inside the container monthly (via cron?) or possibly also at startup if the downloaded database inside the container is older than 30 days.
Docker container's drivedb is not regularly updated. I have a drive in my storage node which is not in the docker's database. I updated the db on the host, and the entry exists. I was able to find and map the smartd database inside the docker container by adding this:
This works, but it would seemingly be better if this was managed inside the container, perhaps by calling "update-smart-drivedb" inside the container monthly (via cron?) or possibly also at startup if the downloaded database inside the container is older than 30 days.