Skip to content

hustcat/degraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Docker external graphdriver api.

Go handler to create external graphdriver for Docker.

Usage

This library is designed to be integrated in your program.

  1. Implement the degraph.Driver interface.
  2. Initialize a degraph.Hander with your implementation.
  3. Call either ServeTCP or ServeUnix from the degraph.Handler.

Example using TCP sockets:

  d := MyGraphDriver{}
  h := degraph.NewHandler(d)
  h.ServeTCP("test_graphdriver", ":8080")

Example using Unix sockets:

  d := MyGraphDriver{}
  h := degraph.NewHandler(d)
  h.ServeUnix("root", "test_graphdriver")

Full example plugins

License

MIT

About

Docker external graph driver API handler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages