{"id":18303138,"url":"https://github.com/monzo/docker-riemann","last_synced_at":"2026-02-06T21:01:00.573Z","repository":{"id":72925262,"uuid":"107550686","full_name":"monzo/docker-riemann","owner":"monzo","description":"Docker build of Riemann using alpine","archived":false,"fork":false,"pushed_at":"2017-10-19T21:56:10.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T15:53:24.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-19T13:33:49.000Z","updated_at":"2017-11-08T16:11:50.000Z","dependencies_parsed_at":"2023-03-23T10:50:20.406Z","dependency_job_id":null,"html_url":"https://github.com/monzo/docker-riemann","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monzo/docker-riemann","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monzo%2Fdocker-riemann","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monzo%2Fdocker-riemann/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monzo%2Fdocker-riemann/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monzo%2Fdocker-riemann/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monzo","download_url":"https://codeload.github.com/monzo/docker-riemann/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monzo%2Fdocker-riemann/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29175821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T15:24:19.246Z","updated_at":"2026-02-06T21:01:00.550Z","avatar_url":"https://github.com/monzo.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-Riemann\n\nA build of the [riemann metrics platform](http://riemann.io) for docker using alpine linux. Targets the latest (as of 2017-10-19) stable release of riemann: [riemann 0.2.14](https://github.com/riemann/riemann/releases/tag/0.2.14)\n\n* [Image Details](#image-details)\n  * [Docker Image Details](#docker-image-details)\n* [Quickstart](#quickstart)\n* [Configuration](#configuration)\n  * [Injecting Config](#injecting-config)\n  * [Example Config With Docker Compose](#example-config-with-docker-compose)\n  * [Baking Configuration Into Your Images](#baking-configuration-into-your-images)\n\n## Image Details\nThis image is built against base image: [openjdk:8-alpine](https://hub.docker.com/_/openjdk/) with an entrypoint targetting `bin/riemann`. The image looks for configuration by default in /config/riemann.config (see the [Configuration](#configuration) section for more details) and you can override that, or pass jvm / riemann command options by overriding the CMD section:\n\n```Dockerfile\nENTRYPOINT [\"bin/riemann\"]\nCMD [\"/config/riemann.config\"]\n```\n\n### Docker Image Details\n\n[![](https://images.microbadger.com/badges/image/transactcharlie/riemann.svg)](https://microbadger.com/images/transactcharlie/riemann \"Get your own image badge on microbadger.com\")\n[![](https://images.microbadger.com/badges/version/transactcharlie/riemann.svg)](https://microbadger.com/images/transactcharlie/riemann \"Get your own version badge on microbadger.com\")\n[![](https://images.microbadger.com/badges/commit/transactcharlie/riemann.svg)](https://microbadger.com/images/transactcharlie/riemann \"Get your own commit badge on microbadger.com\")\n\n## Quickstart\n\nRiemann without your custom [configuration](#configuration) is pretty pointless but if you want to check that this image actually runs you can use the riemann default configuration and play about with command line options like so:\n\n```\ndocker run transactcharlie/riemann /riemann/etc/riemann.config\n```\n\nYou should see some logging:\n```\n# docker run transactcharlie/riemann /riemann/etc/riemann.config\nINFO [2017-10-19 16:25:41,829] main - riemann.bin - PID 1\nINFO [2017-10-19 16:25:41,832] main - riemann.bin - Loading /riemann/etc/riemann.config\nINFO [2017-10-19 16:25:41,944] clojure-agent-send-off-pool-4 - riemann.transport.websockets - Websockets server 127.0.0.1 5556 online\nINFO [2017-10-19 16:25:42,076] clojure-agent-send-off-pool-0 - riemann.transport.udp - UDP server 127.0.0.1 5555 16384 -1 online\nINFO [2017-10-19 16:25:42,148] clojure-agent-send-off-pool-3 - riemann.transport.tcp - TCP server 127.0.0.1 5555 online\nINFO [2017-10-19 16:25:42,150] main - riemann.core - Hyperspace core online\n```\n\n## Configuration\nThis build does not use the default config file deliberately. Riemann doesn't have a useful default configuration for anyone. You will have to roll your own.\n\nthe Dockerfile tells riemann to look for a config file at `/config/riemann.config`. There are a few different ways of putting configuration there. Pick whatever method works for your environment and container platform.\n\nIf you try running this container without config you won't get very far :)\n\n```\n# docker run transactcharlie/riemann\nINFO [2017-10-19 15:58:57,082] main - riemann.bin - PID 1\nINFO [2017-10-19 15:58:57,085] main - riemann.bin - Loading /config/riemann.config\nERROR [2017-10-19 15:58:57,095] main - riemann.bin - Couldn't start\njava.io.FileNotFoundException: /config/riemann.config (No such file or directory)\n\tat java.io.FileInputStream.open0(Native Method)\n\tat java.io.FileInputStream.open(FileInputStream.java:195)\n\tat java.io.FileInputStream.\u003cinit\u003e(FileInputStream.java:138)\n\tat java.io.FileInputStream.\u003cinit\u003e(FileInputStream.java:93)\n\tat clojure.lang.Compiler.loadFile(Compiler.java:7314)\n\tat clojure.lang.RT$3.invoke(RT.java:320)\n\tat riemann.config$include.invokeStatic(config.clj:443)\n\tat riemann.config$include.invoke(config.clj:421)\n\tat riemann.bin$_main.invokeStatic(bin.clj:99)\n\tat riemann.bin$_main.doInvoke(bin.clj:85)\n\tat clojure.lang.RestFn.invoke(RestFn.java:425)\n\tat clojure.lang.AFn.applyToHelper(AFn.java:156)\n\tat clojure.lang.RestFn.applyTo(RestFn.java:132)\n\tat riemann.bin.main(Unknown Source)\n```\n\n### Injecting Config\n\nThe examples folder contains a few different ways or running riemann with injected or baked configuration.\n\n```\nexamples\n├── config-volume\n│   └── riemann.config\n├── docker-compose.yml\n└── riemann-baked.dockerfile\n```\n\nThe example config file in `examples/config-volumes/riemann.config` is a minimal configuration that listens for riemann events on port 5555 (tcp and udp) and carbon format lines on port 2003. It simply prints everything to std out so you can see the metrics you send to riemann.\n\n### Example Config With Docker Compose\n\ndocker-compose is probably the easiest way to get started on your development machine. The `docker-compose.yaml` file mounts the `config-volume` folder in the riemann container at `/config`. just `docker-compose up` and you should see output like so:\n\n```\n# docker-compose up\nCreating network \"examples_default\" with the default driver\nCreating examples_riemann_1 ...\nCreating examples_riemann_1 ... done\nAttaching to examples_riemann_1\nriemann_1  | INFO [2017-10-19 15:36:43,187] main - riemann.bin - PID 1\nriemann_1  | INFO [2017-10-19 15:36:43,192] main - riemann.bin - Loading /config/riemann.config\nriemann_1  | INFO [2017-10-19 15:36:43,338] clojure-agent-send-off-pool-1 - riemann.transport.websockets - Websockets server 0.0.0.0 5556 online\nriemann_1  | INFO [2017-10-19 15:36:43,481] clojure-agent-send-off-pool-0 - riemann.transport.udp - UDP server 0.0.0.0 5555 16384 -1 online\nriemann_1  | INFO [2017-10-19 15:36:43,534] clojure-agent-send-off-pool-6 - riemann.transport.tcp - TCP server 0.0.0.0 2003 online\nriemann_1  | INFO [2017-10-19 15:36:43,628] clojure-agent-send-off-pool-5 - riemann.transport.tcp - TCP server 0.0.0.0 5555 online\nriemann_1  | INFO [2017-10-19 15:36:43,628] main - riemann.core - Hyperspace core online\n..\n..\n```\n\n### Baking Configuration Into Your Images\nIts also easy to bake the configuration in on top of the base image. An example dokerfile to do this is `examples/riemann-baked.dockerfile`. It is trivially simple - just copying the config folder into the right place in the image\n\n```dockerfile\nFROM transactcharlie/riemann:latest\nCOPY ./config-volume /config\n```\n\nBuild it like so:\n```\n# docker build -f riemann-baked.dockerfile -t riemann:baked .\n```\n\nand now you should be able to run it.\n```\n# docker run -p 5555:5555 riemann:baked\n```\nThen put the image wherever is convenient for your environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonzo%2Fdocker-riemann","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonzo%2Fdocker-riemann","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonzo%2Fdocker-riemann/lists"}