Getting Data In

Running splunk container and getting apt-get not found

manian97
Engager

Hi ..I have pulled docker image splunk/splunk and running the containter successfully. Able to login splunk GUI. I am trying to install net-tools package inside container. Followed the below steps.

C:\Users\mania>docker ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9885bd8f10d6 splunk/splunk:latest "/sbin/entrypoint.sh…" 4 weeks ago Up About an hour (healthy) 8065/tcp, 8088-8089/tcp, 8191/tcp, 9887/tcp, 0.0.0.0:8000->8000/tcp, 9997/tcp splunk-mount

C:\Users\mania>docker exec -it splunk-mount bash

[ansible@9885bd8f10d6 splunk]$ apt-get update

bash: apt-get: command not found

I am stuck and couldn't install the tool and continue. I am not sure where I am missing and getting apt-get not found error . Help from anyone would be appreciated.

Thanks.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...