ipam-driver

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

README

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 seperate but overlapping IP Pools.

IP Allocation is handled via Etcd, which should be available on the local host. Default address if 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:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL