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

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.