I’m trying to run snowplow-micro so as to be able to create pipeline from a small blog app. I’m somewhat unfamiliar with Docker and haven’t been able to make sense of the instructions for running snowplow-micro. When I run;
docker run --mount type=bind,source=$(pwd)/example,destination=/config -p 9090:9090 snowplow/snowplow-micro:latest --collector-config /config/micro.conf --iglu /config/iglu.json
I get the error;
Error: Configuration file ./example/micro.conf does not exist
Error: Configuration file ./example/iglu.json does not exist
Try --help for more information.
Exception in thread “main” java.lang.RuntimeException: Problem while parsing arguments
at com.snowplowanalytics.snowplow.micro.ConfigHelper$.parseConfig(ConfigHelper.scala:73)
at com.snowplowanalytics.snowplow.micro.Main$.main(Main.scala:34)
at com.snowplowanalytics.snowplow.micro.Main.main(Main.scala)
I’ve downloaded copies of the 2 config files that are missing, but am unsure where to place them so they they will run. Any help would be much appreciated.