{"id":15062661,"url":"https://github.com/lfdominguez/docker_log_driver_loki","last_synced_at":"2025-10-04T22:31:25.365Z","repository":{"id":57537303,"uuid":"170546275","full_name":"lfdominguez/docker_log_driver_loki","owner":"lfdominguez","description":"A Docker log driver for Grafana Loki","archived":true,"fork":false,"pushed_at":"2019-05-24T18:10:37.000Z","size":53,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-23T17:37:34.055Z","etag":null,"topics":["docker","driver","grafana","logs","loki"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfdominguez.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}},"created_at":"2019-02-13T17:05:47.000Z","updated_at":"2023-01-28T10:59:03.000Z","dependencies_parsed_at":"2022-09-04T13:01:31.528Z","dependency_job_id":null,"html_url":"https://github.com/lfdominguez/docker_log_driver_loki","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/lfdominguez/docker_log_driver_loki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfdominguez%2Fdocker_log_driver_loki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfdominguez%2Fdocker_log_driver_loki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfdominguez%2Fdocker_log_driver_loki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfdominguez%2Fdocker_log_driver_loki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfdominguez","download_url":"https://codeload.github.com/lfdominguez/docker_log_driver_loki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfdominguez%2Fdocker_log_driver_loki/sbom","scorecard":{"id":586792,"data":{"date":"2025-08-11","repo":{"name":"github.com/lfdominguez/docker_log_driver_loki","commit":"97e1c9fbab3025ba8b6c0086aa60386da7081f7a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: containerImage not pinned by hash: Dockerfile:1","Info:   0 out of   1 containerImage dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Lesser General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T20:43:33.001Z","repository_id":57537303,"created_at":"2025-08-20T20:43:33.001Z","updated_at":"2025-08-20T20:43:33.001Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278386097,"owners_count":25978109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","driver","grafana","logs","loki"],"created_at":"2024-09-24T23:44:20.768Z","updated_at":"2025-10-04T22:31:25.020Z","avatar_url":"https://github.com/lfdominguez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grafana Loki log driver for Docker\n[![Build Status](https://travis-ci.com/lfdominguez/docker_log_driver_loki.svg?branch=master)](https://travis-ci.com/lfdominguez/docker_log_driver_loki)\n[![](https://img.shields.io/github/release/lfdominguez/docker_log_driver_loki.svg)](https://github.com/lfdominguez/docker_log_driver_loki/releases)\n![](https://img.shields.io/github/license/lfdominguez/docker_log_driver_loki.svg)\n![](https://img.shields.io/github/downloads/lfdominguez/docker_log_driver_loki/total.svg)\n![](https://img.shields.io/github/release-date/lfdominguez/docker_log_driver_loki.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/lfdominguez/docker_log_driver_loki)](https://goreportcard.com/report/github.com/lfdominguez/docker_log_driver_loki)\n[![Maintainability](https://api.codeclimate.com/v1/badges/52ca62a9438c4e97ac59/maintainability)](https://codeclimate.com/github/lfdominguez/docker_log_driver_loki/maintainability)\n\nThis project allow to send all Docker Logs to Grafana Loki Server.\n\n## Build\n\n### From source\n\nClone from *GitHub*:\n\n```sh\ngit clone https://github.com/lfdominguez/docker_log_driver_loki\n```\n\nand then use the *Makefile*:\n\n```sh\nmake\n```\n\n### From releases\n\nDownload:\n * [Latest release](https://github.com/lfdominguez/docker_log_driver_loki/releases)\n * [Plugin config file `config.json`](https://raw.githubusercontent.com/lfdominguez/docker_log_driver_loki/master/config.json).\n\nCreate the *rootfs* of the plugin and copy the release and config file\n\n```sh\nmkdir -p ./plugin/rootfs\ncp config.json ./plugin/\ncp docker_log_driver_loki ./plugin/rootfs/\n```\n\n## Create plugin\n\n## If you build it or downloaded the release\n\n```sh\ndocker plugin disable -f lfdominguez/docker-log-driver-loki\ndocker plugin rm -f lfdominguez/docker-log-driver-loki\ndocker plugin create lfdominguez/docker-log-driver-loki ./plugin\ndocker plugin enable lfdominguez/docker-log-driver-loki\n```\n\n## Form DockerHub\n\n`TODO`\n\n## Use\n\nDocker support on command line set the logging driver with `--log-driver`, the plugin has this options (required):\n\n* `loki-host`: Loki host address.\n* `loki-port`: Loki service port.\n\ncan be setted with `--log-opt`, example:\n\n```sh\ndocker run --rm -it -e LOG_LEVEL=debug --log-driver lfdominguez/docker-log-driver-loki --log-opt loki-host=192.168.120.159 --log-opt loki-port=80 hello-world\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfdominguez%2Fdocker_log_driver_loki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfdominguez%2Fdocker_log_driver_loki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfdominguez%2Fdocker_log_driver_loki/lists"}