Files
moby/libnetwork
Cory Snider c393ec6ca5 Update golangci-lint to v2.11.4; fix lints
Migrate the configuration using `golangci-lint migrate` and hand-edit to
minimize the textual diff with the v1 configuration. Exclude very noisy
linter rules that are more trouble than they are worth on a maintenance
branch. Fix the lints including duplicate imports, Yoda conditions and
WriteString(fmt.Fprintf(...)) that are obviously semantically equivalent
by inspection. Disable false-positive gosec lints where appropriate.

Also fix (*loggerutils.sharedTempFileConverter).Do() to compare file
modification times with (time.Time).Equal(). While technically not
semantically equivalent to the == operator, in practice it is equivalent
when comparing the modification times of two Stat()'ed files since
neither timestamp will have a monotonic component.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2026-04-27 18:02:18 -04:00
..
2023-05-10 12:05:05 +02:00
2023-08-17 16:48:09 +02:00
2021-06-01 23:48:32 +00:00
2023-05-29 03:28:35 +02:00
2023-11-10 20:09:25 +00:00

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.

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