Replies: 2 comments
-
Hello, well, it's not the Docker containers philosophy IMHO. What's the problem restarting the container ? :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
The server is in my Livingroom at home, restarting the container switches to default Dell Profile that ramps up the fans quite high. But I took your code and modified it slightly for my own use to only ramp up $HEXADECIMAL_FAN_SPEED to 25% on graceful exit, when restarting the container. Also wrote a little script that changes the FAN_SPEED ENV value inside docker-compose yaml file by means of a command line argument and then restart. The wife seems happy with the noise level on this :)
Just thought one could add an argument to change the value of $HEXADECIMAL_FAN_SPEED while Dell_iDRAC_fan_controller.sh is running inside the container. This could easily be done by simply doing a docker exec -i command, but I was struggling to get the variable changed in the container while the script is running.
But in the end, you are right… not really the “docker way”. My workarounds seem to do the trick. I did not fork my changes, as this is a very specific use case. I simply cloned the docker container and build the changes into my own private repo.
Thanks for all the effort in building the scripts and commenting enough that an amateur coder / scripter could understand and adapt it to his own needs.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to manually set the Fan speed Objective without changing the ENV in the Docker Container and Restarting the Docker Container?
Sometimes I just want to manually change the objective without the restarting the container?
Beta Was this translation helpful? Give feedback.
All reactions