Albin Kerouanton 83c02f7a11 libnet/ds: remove extra space in error msg 1 year ago
..
bitmap 564a13285f libnetwork/bitmap: improve documentation 2 years ago
cluster 0f6cb61f2d Switch from x/net/context -> context 7 years ago
cmd d6a656cf7f libnet: Remove unused cmd/readme_test 1 year ago
config 2cf230951f add //go:build directives to prevent downgrading to go1.16 language 1 year ago
datastore 83c02f7a11 libnet/ds: remove extra space in error msg 1 year ago
diagnostic 1931a1bdc7 libnetwork/diagnostic: lock mutex in help handler 1 year ago
discoverapi d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
docs 6f44138269 libnetwork: fix tiny grammar mistake on design.md 1 year ago
driverapi 42d34e40f9 libnet: Replace BadRequest with InvalidParameter 1 year ago
drivers cbd45e83cf libnet: Replace DeleteAtomic in retry loops with DeleteIdempotent 1 year ago
drvregistry a0a8d9d057 libnetwork: notify another driver registerer 1 year ago
etchosts 2ddec74d59 Remove unused params from etchosts.Build() 1 year ago
internal cbd45e83cf libnet: Replace DeleteAtomic in retry loops with DeleteIdempotent 1 year ago
ipam 0f9f9a132e Move 'netip' utils from 'ipam' to 'internal'. 1 year ago
ipamapi c22ec82477 libnet: Fix error capitalization 1 year ago
ipams cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
ipamutils bba21735bf libnetwork/ipamutils: format code with gofumpt 2 years ago
ipbits 3c59ef247f libnet/ipam: use netip types internally 2 years ago
iptables 9a41cc58d9 libnetwork: fix typo in iptables.go 1 year ago
netlabel 808120e5b8 New `host_ipv6` bridge option to SNAT IPv6 connections 1 year ago
netutils a8f7c5ee48 Detect IPv6 support in containers. 1 year ago
networkdb 424ae36046 libnetwork/diagnostic: use standard http.Handler 1 year ago
ns cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
options 2cf230951f add //go:build directives to prevent downgrading to go1.16 language 1 year ago
osl 794f7127ef Merge pull request #47062 from robmry/35954-default_ipv6_enabled 1 year ago
portallocator f714730c40 libnetwork/portallocator: PortAllocator.ReleasePort: remove unused err-return 1 year ago
portmapper f714730c40 libnetwork/portallocator: PortAllocator.ReleasePort: remove unused err-return 1 year ago
resolvconf cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
scope 6ec03d6745 libnetwork: move datastore Scope consts to libnetwork/scope 2 years ago
support 4b981436fe Fixup libnetwork lint errors 4 years ago
types bd0111c1f4 libnet: Replace NoServiceError with UnavailableError 1 year ago
.dockerignore 62ebaeac7a Added back dockerignore 7 years ago
.gitignore 62ebaeac7a Added back dockerignore 7 years ago
README.md d6a656cf7f libnet: Remove unused cmd/readme_test 1 year ago
agent.go 80c44b4b2e daemon: rename: don't reload endpoint from datastore 1 year ago
agent.pb.go fd72b134d5 update generated files 2 years ago
agent.proto 1eaea43581 fix protos and "go generate" commands 2 years ago
controller.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
controller_linux.go cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
controller_others.go 95abde479a libnetwork: implement Controller.setupOSLSandbox 1 year ago
default_gateway.go 6a2542dacf libnet: remove Endpoint.anonymous 1 year ago
default_gateway_freebsd.go 64c6f72988 libnetwork: remove Network interface 2 years ago
default_gateway_linux.go 64c6f72988 libnetwork: remove Network interface 2 years ago
default_gateway_windows.go 64c6f72988 libnetwork: remove Network interface 2 years ago
drivers_freebsd.go 77c2613d3a libnetwork: fix some missing imports on macOS and FreeBSD 1 year ago
drivers_ipam.go d478e13639 libnet: un-plumb datastores from IPAM inits 2 years ago
drivers_linux.go d519bde5da libnet/drivers: stop passing config to drivers... 2 years ago
drivers_unsupported.go 77c2613d3a libnetwork: fix some missing imports on macOS and FreeBSD 1 year ago
drivers_windows.go d519bde5da libnet/drivers: stop passing config to drivers... 2 years ago
endpoint.go f472dda2e9 Merge pull request #47236 from akerouanton/remove-sb-leave-options-param 1 year ago
endpoint_cnt.go f7ef0e9fc7 libnet/ds: remove unused param `key` from GetObject 1 year ago
endpoint_info.go 80c44b4b2e daemon: rename: don't reload endpoint from datastore 1 year ago
endpoint_info_unix.go ab35df454d remove pre-go1.17 build-tags 2 years ago
endpoint_info_windows.go ab35df454d remove pre-go1.17 build-tags 2 years ago
endpoint_test.go 0a9bc3b507 libnetwork: Sandbox.ResolveName: refactor ordering of endpoints 1 year ago
endpoint_unix_test.go c0562d4eed libnetwork: rename unix-only testfiles 2 years ago
error.go 42d34e40f9 libnet: Replace BadRequest with InvalidParameter 1 year ago
errors_test.go 42d34e40f9 libnet: Replace BadRequest with InvalidParameter 1 year ago
firewall_linux.go cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
firewall_linux_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
firewall_others.go 9484520327 libnetwork: arrangeUserFilterRule: don't return early 2 years ago
libnetwork_internal_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
libnetwork_linux_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
libnetwork_unix_test.go ab35df454d remove pre-go1.17 build-tags 2 years ago
libnetwork_windows_test.go dd5ea7e996 libnetwork: format code with gofumpt 2 years ago
network.go 80c44b4b2e daemon: rename: don't reload endpoint from datastore 1 year ago
network_unix.go 64c6f72988 libnetwork: remove Network interface 2 years ago
network_windows.go cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
resolver.go d9e082ff54 libnetwork: resolve: use structured logs for DNS error 1 year ago
resolver_test.go 5eaf898fcb libnetwork: write ServFail if DNS reply msg is bad 1 year ago
resolver_unix.go 1178319313 libn: fix resolver restore w/ chatty 'iptables -C' 2 years ago
resolver_unix_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
resolver_windows.go ab35df454d remove pre-go1.17 build-tags 2 years ago
sandbox.go 80c44b4b2e daemon: rename: don't reload endpoint from datastore 1 year ago
sandbox_dns_unix.go 2ddec74d59 Remove unused params from etchosts.Build() 1 year ago
sandbox_dns_unix_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
sandbox_dns_windows.go a365fb0e9d libnetwork: move more osl.Sandbox related code to Linux-only files 1 year ago
sandbox_externalkey_unix.go f9135cdeb5 libnet: Improve the debug log written when the extKeyListener is stopped 1 year ago
sandbox_externalkey_unsupported.go ab35df454d remove pre-go1.17 build-tags 2 years ago
sandbox_linux.go a8f7c5ee48 Detect IPv6 support in containers. 1 year ago
sandbox_options.go 06e540c271 libnetwork: move all SandboxOptions to a separate file 1 year ago
sandbox_store.go cbd45e83cf libnet: Replace DeleteAtomic in retry loops with DeleteIdempotent 1 year ago
sandbox_unix_test.go 6dba98cf38 libnetwork: implement Controller.GetSandbox(containerID) 1 year ago
sandbox_unsupported.go b92cf68add libnetwork/osl: remove Sandbox and Info interfaces 1 year ago
service.go 2cf230951f add //go:build directives to prevent downgrading to go1.16 language 1 year ago
service_common.go cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
service_common_unix_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
service_linux.go 80c44b4b2e daemon: rename: don't reload endpoint from datastore 1 year ago
service_unsupported.go ab35df454d remove pre-go1.17 build-tags 2 years ago
service_windows.go cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 year ago
store.go 3147a013fb libnet/ds: remove unused param `key` from List 1 year ago
store_linux_test.go d21d0884ae libnetwork: share a single datastore with drivers 1 year ago
store_test.go 8070a9aa66 libnet: drop TestMultipleControllersWithSameStore 1 year ago

README.md

libnetwork - networking for containers

Libnetwork provides a native Go implementation for connecting containers

The goal of libnetwork is to deliver a robust Container Network Model that provides a consistent programming interface and the required network abstractions for applications.

Design

Please refer to the design for more information.

Using libnetwork

There are many networking solutions available to suit a broad range of use-cases. libnetwork uses a driver / plugin model to support all of these solutions while abstracting the complexity of the driver implementations by exposing a simple and consistent Network Model to users.

Contributing

Want to hack on libnetwork? Docker's contributions guidelines apply.

Copyright and license

Code and documentation copyright 2015 Docker, inc. Code released under the Apache 2.0 license. Docs released under Creative commons.