1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/extend/plugins_network.md
Mary Anthony 8fee1c2020 Enabled GitHub Flavored Markdown
GitHub flavored markdown is now supported for links and images. Also, ran LinkChecker and FileResolver. Yay!
Fixes from Spider check
Output for docker/docker now goes into engine directory

Signed-off-by: Mary Anthony <mary@docker.com>
2015-10-11 07:49:54 -07:00

1.7 KiB

Docker network driver plugins

Docker supports network driver plugins via LibNetwork. Network driver plugins are implemented as "remote drivers" for LibNetwork, which shares plugin infrastructure with Docker. In effect this means that network driver plugins are activated in the same way as other plugins, and use the same kind of protocol.

Using network driver plugins

The means of installing and running a network driver plugin will depend on the particular plugin.

Once running however, network driver plugins are used just like the built-in network drivers: by being mentioned as a driver in network-oriented Docker commands. For example,

docker network create -d weave mynet

Some network driver plugins are listed in plugins

The network thus created is owned by the plugin, so subsequent commands referring to that network will also be run through the plugin such as,

docker run --net=mynet busybox top

Network driver plugin protocol

The network driver protocol, additional to the plugin activation call, is documented as part of LibNetwork: https://github.com/docker/libnetwork/blob/master/docs/remote.md.

Related GitHub PRs and issues

Please record your feedback in the following issue, on the usual Google Groups, or the IRC channel #docker-network.

  • #14083 Feedback on experimental networking features