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!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...