Skip to content

docker run failed with runtime configuration #324

@baby3873575

Description

@baby3873575

Hi, just follow the documentation listing in https://splunk.github.io/docker-splunk/ADVANCED.html#runtime-configuration

docker run --rm -it splunk/splunk:latest create-defaults > default.yml

then

docker run -d -p 8000:8000 -v default.yml:/tmp/defaults/default.yml -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD= splunk/splunk:latest

Will generate

PLAY [Run default Splunk provisioning] *****************************************
Saturday 29 February 2020 19:06:03 +0000 (0:00:00.146) 0:00:00.146 *****

TASK [Gathering Facts] *********************************************************
ok: [localhost]
Saturday 29 February 2020 19:06:05 +0000 (0:00:01.298) 0:00:01.444 *****
Saturday 29 February 2020 19:06:05 +0000 (0:00:00.041) 0:00:01.486 *****
Saturday 29 February 2020 19:06:05 +0000 (0:00:00.041) 0:00:01.527 *****
Saturday 29 February 2020 19:06:05 +0000 (0:00:00.042) 0:00:01.570 *****

TASK [Check all instances for required restarts] *******************************
fatal: [localhost]: FAILED! => {}

MSG:

The field 'become_user' has an invalid value, which includes an undefined variable. The error was: 'splunk' is undefined

PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions