Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/clients/cmd/docker-driver
renovate-sh-app[bot] 8317f7e462
fix(deps): update module github.com/prometheus/client_golang to v1.23.2 (main) (#19763)
2 months ago
..
Dockerfile chore(deps): update alpine docker tag to v3.22.2 (main) (#19739) 2 months ago
README.md docs: Fix the link to the docker-driver documention (#11609) 2 years ago
config.go fix(deps): update module github.com/prometheus/client_golang to v1.23.2 (main) (#19763) 2 months ago
config.json Loki/Promtail: Client Refactor (#3623) 5 years ago
config_test.go chore(linter): Fix issues flagged by updated golangci-lint version (#19206) 4 months ago
docker-compose.yaml Loki/Promtail: Client Refactor (#3623) 5 years ago
driver.go fix(deps): update module github.com/docker/docker to v27.5.0+incompatible (#15738) 12 months ago
http.go chore: Linting updates in prep for Go 1.23 (#14071) 1 year ago
loki.go chore: update loki modules for 3.0 release (#12433) 2 years ago
loki_test.go chore: update loki modules for 3.0 release (#12433) 2 years ago
main.go chore: Preparation for incoming static code analysis CI check (#15164) 1 year ago
pipeline-example.yaml Loki/Promtail: Client Refactor (#3623) 5 years ago

README.md

Loki Docker Logging Driver

Overview

Docker logging driver plugins extends Docker's logging capabilities. You can use Loki Docker logging driver plugin to send Docker container logs directly to your Loki instance or Grafana Cloud.

Docker plugins are not yet supported on Windows; see Docker's logging driver plugin documentation

If you have any questions or issues using the Docker plugin feel free to open an issue in this repository.

The documentation source code of the plugin is available in the documentation folder.

Contributing

This directory contains the code source of the docker driver. To build and contribute. you will need:

  • Docker
  • Makefile
  • Optionally go 1.14 installed.

To build the driver you can use make docker-driver, then you can install this driver using make docker-driver-enable. If you want to uninstall the driver simply run make docker-driver-clean.

Make sure you update the documentation accordingly when submitting a new change.