moby--moby/docs/extend
Brian Goff 27bd6842f8 Implement plugins for logging drivers
Logging plugins use the same HTTP interface as other plugins for basic
command operations meanwhile actual logging operations are handled (on
Unix) via a fifo.

The plugin interface looks like so:

```go
type loggingPlugin interface {
  StartLogging(fifoPath string, loggingContext Context) error
  StopLogging(fifoPath)
```

This means a plugin must implement `LoggingDriver.StartLogging` and
`LoggingDriver.StopLogging` endpoints and be able to consume the passed
in fifo.

Logs are sent via stream encoder to the fifo encoded with protobuf.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-04-10 13:17:20 -04:00
..
images Fixing documentation according to comments by @moxiegirl and @thaJeztah 2015-12-08 17:34:15 +02:00
EBS_volume.md plugins: add example docs for a rexray plugin 2017-01-23 15:41:35 -08:00
config.md Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
index.md modify docker plugin sshfs entrypoint 2017-03-07 17:06:27 +08:00
legacy_plugins.md Merge pull request #32265 from breuner/patch-1 2017-04-02 12:27:54 +02:00
plugin_api.md Fix json format of plugin 2017-01-27 09:32:19 +03:00
plugins_authorization.md Fix some redirect loops and problems 2016-11-28 09:46:38 -08:00
plugins_graphdriver.md Fix some Liquid errors 2017-02-14 16:40:15 -08:00
plugins_logging.md Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
plugins_network.md modify invalid url in plugins_network.md 2016-11-25 15:40:51 +08:00
plugins_services.md Escape some double brackets 2017-04-04 10:06:32 -07:00
plugins_volume.md Update plugin_volume apidocs for v2 2017-02-13 16:28:54 -08:00