How to add packages to Splunk docker container?


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 (3)
Tags (2)
0 Karma


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


0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...