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
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!