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.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...