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[bot] c745a185ae
chore(deps): update alpine docker tag to v3.21.3 (main) (#16295)
3 months ago
..
Dockerfile chore(deps): update alpine docker tag to v3.21.3 (main) (#16295) 3 months ago
README.md docs: Fix the link to the docker-driver documention (#11609) 1 year ago
config.go chore: update loki modules for 3.0 release (#12433) 1 year ago
config.json Loki/Promtail: Client Refactor (#3623) 4 years ago
config_test.go chore: update loki modules for 3.0 release (#12433) 1 year ago
docker-compose.yaml Loki/Promtail: Client Refactor (#3623) 4 years ago
driver.go fix(deps): update module github.com/docker/docker to v27.5.0+incompatible (#15738) 4 months ago
http.go chore: Linting updates in prep for Go 1.23 (#14071) 9 months ago
loki.go chore: update loki modules for 3.0 release (#12433) 1 year ago
loki_test.go chore: update loki modules for 3.0 release (#12433) 1 year ago
main.go chore: Preparation for incoming static code analysis CI check (#15164) 6 months ago
pipeline-example.yaml Loki/Promtail: Client Refactor (#3623) 4 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.