Skip to content

Docker Container - Out of date drivedb.h #337

@mjraneri

Description

@mjraneri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions