This repository is no longer maintained Please use https://github.com/docker/go-plugins-helpers
Go handler to create external network extensions for Docker.
Inspired by @calavera's awesome dkvolume
library
This library is designed to be integrated in your program.
- Implement the
dknet.Driver
interface. - Initialize a
dknet.Handler
with your implementation. - Call either
ServeTCP
orServeUnix
from thedknet.Handler
.
d := MyNetworkDriver{}
h := dknet.NewHandler(d)
h.ServeTCP("test_network", ":8080")
d := MyNetworkDriver{}
h := dknet.NewHandler(d)
h.ServeUnix("root", "test_network")
- docker-ovs-plugin - An Open vSwitch Networking Plugin
MIT