JaseNZ Posted December 19, 2020 Share Posted December 19, 2020 (edited) Is there a way to install a package inside a container. Trying to get smartmontools tools installed into the docker Telegraf however I am unable to find any commands to do this. Pretty sure I used apk once in a container but this command no longer seems to work. I know it will disappear if the container is updated but until I find a solution to fix the broken smartctrl then this is the only way I can think of doing it. Edited December 19, 2020 by JaseNZ Quote Link to comment
primeval_god Posted December 19, 2020 Share Posted December 19, 2020 It depends on what the base image of the container is and what package manager (if any) is installed. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.