Closed MiaMish closed 6 years ago
Hi @MiaMish, can you please run this command on your docker host docker info | grep "Logging Driver"
and share the results? This will tell us if the splunk-logging-plugin is registered as current logging driver or not. Thanks!
@luckyj5 the command returns the following:
Logging Driver: json-file
Do I need to un-register the existing logging driver?
Using --log-driver=splunk
worked
I'm trying to use the docker logging plugin on my environment, but cannot get any container to run when using it.
I've started a Splunk server instance on a docker container using https://hub.docker.com/r/splunk/splunk/, exposing 8000 and 8088 ports, and enabled HTC and generated a token.
Then I run following commands successfully:
However, when I try to run any custom image, I'm getting an error:
I tried also with the alias, and with a global daemon.json, all resulted with the same errors.
Docker version 17.03.2-ce, build f5ec1e2 Ubuntu 16.04.4 LTS