Getting Data In

How to configure Splunk docker container

mbagali_splunk
Splunk Employee
Splunk Employee

I want to know the steps on setting up Splunk in Docker container

0 Karma
1 Solution

mbagali_splunk
Splunk Employee
Splunk Employee

Please find the below steps to install Docker on Redhat/CentOs:

-) yum install -y docker docker-compose

-) Check on cmd prompt : docker --version

-) groupadd docker

-) gpasswd -a (For creating a user)

Steps to install Splunk :

-) docker search splunk

Select the latest package and use below command to down load image

-) docker pull splunk/splunk:latest

-) Run the splunk docker container:
$ docker run -d -p 8000:8000 -e 'SPLUNK_START_ARGS=--accept-license' -e 'SPLUNK_PASSWORD=' splunk/splunk:latest

Reference Link:
https://github.com/splunk/docker-splunk/blob/develop/docs/SETUP.md

-

View solution in original post

mbagali_splunk
Splunk Employee
Splunk Employee

Please find the below steps to install Docker on Redhat/CentOs:

-) yum install -y docker docker-compose

-) Check on cmd prompt : docker --version

-) groupadd docker

-) gpasswd -a (For creating a user)

Steps to install Splunk :

-) docker search splunk

Select the latest package and use below command to down load image

-) docker pull splunk/splunk:latest

-) Run the splunk docker container:
$ docker run -d -p 8000:8000 -e 'SPLUNK_START_ARGS=--accept-license' -e 'SPLUNK_PASSWORD=' splunk/splunk:latest

Reference Link:
https://github.com/splunk/docker-splunk/blob/develop/docs/SETUP.md

-

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...