-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script fails when docker image is started with SPLUNK_START_ARGS=--accept-license #6
Comments
I know what the problem is--you're not running Splunk Lab, you're running what looks like an official Splunk image. :-) What I see you're using is splunk/splunk:latest, and my image is dmuth1/splunk-lab. -- Doug |
I have this issue, also:
|
Hey @np-trivial, that's the script doing what it's supposed to--asking you to agree to the Splunk license. :-) If you're unfamiliar with environment variables, there's some documentation here: https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-linux -- Doug |
I'm familiar with environment variables, and I run Splunk using Docker frequently. I interpreted that your script took care of it. I find the instructions misleading. They indicate that I can just run that one command line and be up and running, but it appears that I cannot. Your explanation "Splunk has its own license. Please abide by it." doesn't actually help me run this script. Could you please add more verbose instructions to the README indicating that users will need to accept the license? I understand why your script does not do this already (because that would be like you accepting the license on my behalf, which is improper), but as is, it makes it seem like this is a bug, not a necessary user intervention. |
Starting the docker image in bash with the command
"docker run -d -p 8000:8000 -e "SPLUNK_START_ARGS=--accept-license" -e "SPLUNK_PASSWORD=" --name
splunk splunk/splunk:latest"
and the download script says I need to set splunk start args. Docker Inspect confirms the setting
The text was updated successfully, but these errors were encountered: