Installation

How to add packages to Splunk docker container?

eugeneAq
Engager

I am using an ansible script to deploy docker containers with a Splunk Image. I need to install packages to each container by running the following commands inside each container.

pip install -U future
pip install httplib2

Every time leads to an error, command not found. I even added RUN, before each command but it errors just the same. Has anyone encountered this issue ? Thank you.

Labels (2)
Tags (2)
0 Karma

smithy001
Explorer

I've got the same issue...tried everything I know on the unix front...did you ever find a solution for this as it's a bit of a show stopper as I want to install keepalived on universal for simple HA solution

Cheers

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...