Comments (5)
@guru-shetty Most likely libnetwork will be running in docker daemon. Your understanding of where plugins will sit is correct. But all of these should be transparent to plugin provider as long as they conform to the Network plugin protocol (yet to be fully defined)
from libnetwork.
Marking this as closed as I think @mrjana has answered the question
from libnetwork.
Any future plugin will be between libnetwork and the drivers. i.e., if the plugin takes the form of a REST API, then this will make network.go (https://github.com/docker/libnetwork/blob/master/network.go) call REST APIs to the bridge driver to Create network, create endpoint etc.
The way we (weave) have been constructing a PoC plugin is as follows:
- when loaded, the plugin registers itself with libnetwork as a network driver
- the driver implementation it registers uses the "plugin transport" (currently RPC-over-HTTP-over-unix-socket) to talk to the plugin.
from libnetwork.
@squaremo Thanks for the information. Do you have a semi-working PoC code yet, that I could look at?
from libnetwork.
@shettyg Michael + I are working on it here:
https://github.com/tomwilkie/docker/tree/network_extensions_dev
Its very rough and ready! But it pretty much works (just ironing out the last problems now). You'll need my forks of libcontainer and libnetwork too; put them in docker's vendor dir.
from libnetwork.
Related Issues (20)
- Use .local suffix for containers on user-defined networks to avoid proxy issues. HOT 1
- docker: firewall: interdocker communication broken when using internal networks HOT 8
- controller deadlock HOT 4
- publishing port from overlay network does not work if not bound on wildcard address in container
- firewalld docker zone not working to reject request HOT 3
- Can't get libnetwork due to github.com/docker/docker/pkg/tlsconfig missing HOT 2
- Failing to attach containers to encrypted overlay network since linux 5.15.17 HOT 4
- Libnetwork is failing while executing command ' get github.com/moby/libnetwork' HOT 3
- Update moby/libnetwork to support golang 1.17 HOT 1
- No DOCKER-USER chain with `ip6tables: true` HOT 13
- Overlay network broken when outside network mtu is smaller than default (1450) HOT 1
- com.docker.network.host_ipv4 does not working when multiple IPs HOT 1
- Embedded swarm DNS does not fail over to secondary properly on RHEL7 HOT 5
- module google.golang.org/grpc@latest found (v1.50.1), but does not contain package google.golang.org/grpc/naming HOT 2
- .go
- After enable ipv6 in the docker, it works for only static ipv6 address, but not DHCP ipv6 address HOT 1
- [Bug]:A potential goroutine leak in libnetwork/drivers/overlay/peerdb.go HOT 2
- [Bug]:A potential goleak
- With firewalld, all docker containers that are listening on 0.0.0.0:PORT are exposed to the outside HOT 1
- OOM-kill in dockerd 20.10, tries to allocate 2³² IPAM subnets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libnetwork.