Sign inSign up

naore/hdsentinel

By naore

•Updated over 1 year ago

Image
0

108

naore/hdsentinel repository overview

Build with Dockerfile,

FROM naore/alpine-glibc-libgcrypt
ARG HDSENTINEL_VERSION="020c"
COPY HDSentinel /usr/sbin/hdsentinel
RUN \
  chmod +x "/usr/sbin/hdsentinel" && \
  mkdir -p /hdsentinel
VOLUME /dev
ENTRYPOINT ["/usr/sbin/hdsentinel"]
CMD ["-html","-r","/hdsentinel/output.html"]

Use with docker-compose.yml

services:
  hdsentinel:
    image: naore/hdsentinel:020c
    privileged: true
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /dev:/dev
      - /home/hdsentinel:/hdsentinel
    restart: unless-stopped

When running in openwrt, install zoneinfo first, and then use

    volumes:
      - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro

Run directly,

docker run --rm --privileged -v /dev/:/dev/ -v /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro -v /home/hdsentinel:/hdsentinel naore/hdsentinel:020c -html -r /hdsentinel/output-$(date +%Y%m%d-%H%M%S).html

Tag summary

Content type

Image

Digest

sha256:852d3ca90…

Size

16.1 MB

Last updated

over 1 year ago

docker pull naore/hdsentinel:020c