Scrutiny - HDD S.M.A.R.T. status manager #49

Closed
opened 2022-06-26 22:56:20 +00:00 by skobkin · 1 comment
Owner
[ghcr.io/analogj/scrutiny](https://github.com/analogj/scrutiny/pkgs/container/scrutiny) * https://github.com/AnalogJ/scrutiny#docker ![screenshot](https://github.com/AnalogJ/scrutiny/raw/master/docs/dashboard.png)
skobkin added the
to be researched
new stack
labels 2022-06-26 22:56:20 +00:00
skobkin self-assigned this 2022-06-26 22:56:20 +00:00
Author
Owner

It is not possible to dynamically mount HDD block devices into the container right now:

docker run -it --rm -p 8080:8080 -p 8086:8086 \
  -v `pwd`/scrutiny:/opt/scrutiny/config \
  -v `pwd`/influxdb2:/opt/scrutiny/influxdb \
  -v /run/udev:/run/udev:ro \
  --cap-add SYS_RAWIO \
  --device=/dev/sda \
  --device=/dev/sdb \
  --name scrutiny \
  ghcr.io/analogj/scrutiny:master-omnibus

The only way is to mount /dev which is not very secure.

Docker feature request: https://github.com/docker/cli/issues/2968

It is not possible to dynamically mount HDD block devices into the container right now: ```shell docker run -it --rm -p 8080:8080 -p 8086:8086 \ -v `pwd`/scrutiny:/opt/scrutiny/config \ -v `pwd`/influxdb2:/opt/scrutiny/influxdb \ -v /run/udev:/run/udev:ro \ --cap-add SYS_RAWIO \ --device=/dev/sda \ --device=/dev/sdb \ --name scrutiny \ ghcr.io/analogj/scrutiny:master-omnibus ``` The only way is to mount `/dev` which is not very secure. Docker feature request: https://github.com/docker/cli/issues/2968
skobkin added the
won't fix
label 2024-11-08 16:48:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: skobkin/docker-stacks#49
No description provided.