docker-splunk icon indicating copy to clipboard operation
docker-splunk copied to clipboard

create-default does not work because the six module is not found.

Open chattytak opened this issue 1 year ago • 1 comments
trafficstars

As the title says, it does not work well.

$ docker run --rm -it splunk/splunk:latest create-defaults
Traceback (most recent call last):
  File "/usr/sbin/createdefaults.py", line 16, in <module>
    import six
ModuleNotFoundError: No module named 'six'
  • docker image ls
$ docker image ls | grep splunk
splunk/splunk                     latest      532e09370657   4 days ago      2.45GB

chattytak avatar Feb 05 '24 05:02 chattytak

can you give some more context over here?

what machine are you using to run the above command. There are some reported issues with docker-splunk and Mac M1/M2 machines.

I am using a Mac Intel machine and I was able to successfully create the defaults for the following images:

docker run --rm -it splunk/splunk:latest create-defaults
docker run --rm -it splunk/splunk:9.2.0 create-defaults
docker run --rm -it splunk/splunk:9.1.3 create-defaults

adityapinglesf avatar Mar 06 '24 18:03 adityapinglesf