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!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

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 ...