package bridge

import "github.com/docker/docker/daemon/networkdriver/bridge"

Index

Constants

const (
	DefaultNetworkBridge     = "docker0"
	MaxAllocatedPortAttempts = 10
)

Functions

func Allocate

func Allocate(job *engine.Job) engine.Status

Allocate a network interface

func AllocatePort

func AllocatePort(job *engine.Job) engine.Status

Allocate an external port and map it to the interface

func InitDriver

func InitDriver(job *engine.Job) engine.Status

func LinkContainers

func LinkContainers(job *engine.Job) engine.Status

func Release

func Release(job *engine.Job) engine.Status

Release an interface for a select ip

func RequestPort

func RequestPort(ip net.IP, proto string, port int) (int, error)

Source Files

driver.go

Version
v1.6.2
Published
May 11, 2015
Platform
js/wasm
Imports
19 packages
Last checked
1 minute ago

Tools for package owners.