How Do You Install Splunk in a Docker Container?

Problem scenario
You want to run Splunk from a Docker container. What do you do?

Install Docker. If you need assistance, see this posting.

1. Run this command: docker pull splunk/splunk:latest

2. Run this command, but replace "simpleword" with the password that you want the administrator account for the web UI to have:

docker run -d -p 8000:8000 -e 'SPLUNK_START_ARGS=--accept-license' -e 'SPLUNK_PASSWORD=simpleword' splunk/splunk:latest

3. Run this command, but replace abcd1234 with the container ID that was created above: docker ps -a -f id=abcd1234

4. Open a web browser and go to this URL, but replace x.x.x.x with the external IP address of the Docker host above: http://x.x.x.x:8000

Leave a comment

Your email address will not be published. Required fields are marked *