Devatoria / ipam-driver

Docker IPAM Plugin for Overlay Networking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nflex IPAM Driver for Docker

This project provides a Docker Plugin which implements the IPAM Driver specification.

https://github.com/docker/libnetwork/blob/master/docs/ipam.md

It uses the official docker helper library:

https://github.com/docker/go-plugins-helpers/blob/master/ipam/api.go

This plugin enables the creation of multiple overlay networks with separate but overlapping IP Pools.

IP Allocation is handled via Etcd, which should be available on the local host. Default address is http://localhost:4001 and can be configured by the ETCD_HOSTS opiton.

Usage:

docker network create --driver overlay --ipam-driver nflex/ipam-driver:0.0.1 --ipam-opt="network-name=overlay1" --subnet 10.0.1.0/24 overlay1

Limitations

  • Supports Overlay networks only
  • No Subnet support (yet, could be added if need be)

Docker Hub

https://hub.docker.com/r/nflex/ipam-driver/

References:

Ideas and code examples borrowed from:

Original issue that this solves:

About

Docker IPAM Plugin for Overlay Networking

License:Apache License 2.0


Languages

Language:Go 95.0%Language:Makefile 5.0%