Installing a package inside a container


Recommended Posts

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 by JaseNZ
Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.