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.

Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...