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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...