document using v2 plugin from dockerhub rather than store
Since the latter is hard to update and hence frequently out of date. Fixes #3153.
This commit is contained in:
1 parent
62dbe03193
commit
474f1f3673
2 files changed
+9
-9
No files matched your search
@@ -8,7 +8,7 @@ search_type: Documentation
|
|||||||
The Weave Net legacy plugin actually provides *two* network drivers to Docker -
|
The Weave Net legacy plugin actually provides *two* network drivers to Docker -
|
||||||
one named `weavemesh` that can operate without a cluster store and another one
|
one named `weavemesh` that can operate without a cluster store and another one
|
||||||
named `weave` that can only work with one (like Docker's overlay driver), while
|
named `weave` that can only work with one (like Docker's overlay driver), while
|
||||||
the V2 plugin provides *one* - `store/weaveworks/net-plugin:latest_release`
|
the V2 plugin provides *one* - `weaveworks/net-plugin:latest_release`
|
||||||
operating only in swarm mode.
|
operating only in swarm mode.
|
||||||
|
|
||||||
### weavemesh driver
|
### weavemesh driver
|
||||||
@@ -41,7 +41,7 @@ The plugin accepts the following options via `docker network create ... --opt`:
|
|||||||
network created when the plugin is first launched has the multicast
|
network created when the plugin is first launched has the multicast
|
||||||
option turned on, but for any networks you create it defaults to off.
|
option turned on, but for any networks you create it defaults to off.
|
||||||
|
|
||||||
### store/weaveworks/net-plugin:latest_release driver
|
### weaveworks/net-plugin:latest_release driver
|
||||||
|
|
||||||
* The driver runs within the plugin V2.
|
* The driver runs within the plugin V2.
|
||||||
* Requires Docker to run in [swarm mode](https://docs.docker.com/engine/swarm/swarm-mode/).
|
* Requires Docker to run in [swarm mode](https://docs.docker.com/engine/swarm/swarm-mode/).
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ search_type: Documentation
|
|||||||
* [Running Services or Containers Using the Plugin](#usage)
|
* [Running Services or Containers Using the Plugin](#usage)
|
||||||
|
|
||||||
Docker Engine version 1.12 introduced [a new plugin system (V2)](https://docs.docker.com/engine/extend/).
|
Docker Engine version 1.12 introduced [a new plugin system (V2)](https://docs.docker.com/engine/extend/).
|
||||||
This document describes how to use [the Network Plugin V2 of Weave Net](https://store.docker.com/plugins/weave-net-plugin).
|
This document describes how to use the Network Plugin V2 of Weave Net.
|
||||||
|
|
||||||
Before using the plugin, please keep in mind the plugin works only in Swarm
|
Before using the plugin, please keep in mind the plugin works only in Swarm
|
||||||
mode and requires Docker version 1.13 or later.
|
mode and requires Docker version 1.13 or later.
|
||||||
@@ -19,7 +19,7 @@ mode and requires Docker version 1.13 or later.
|
|||||||
To install the plugin run the following command on _each_ host already
|
To install the plugin run the following command on _each_ host already
|
||||||
participating in a Swarm cluster, i.e. on all master and worker nodes:
|
participating in a Swarm cluster, i.e. on all master and worker nodes:
|
||||||
|
|
||||||
$ docker plugin install store/weaveworks/net-plugin:latest_release
|
$ docker plugin install weaveworks/net-plugin:latest_release
|
||||||
|
|
||||||
Docker will pull the plugin from Docker Store, and it will ask to grant
|
Docker will pull the plugin from Docker Store, and it will ask to grant
|
||||||
privileges before installing the plugin. Afterwards, it will start `weaver`
|
privileges before installing the plugin. Afterwards, it will start `weaver`
|
||||||
@@ -29,7 +29,7 @@ process which will try to connect to Swarm masters running Weave Net.
|
|||||||
|
|
||||||
There are several configuration parameters which can be set with:
|
There are several configuration parameters which can be set with:
|
||||||
|
|
||||||
$ docker plugin set store/weaveworks/net-plugin:latest_release PARAM=VALUE
|
$ docker plugin set weaveworks/net-plugin:latest_release PARAM=VALUE
|
||||||
|
|
||||||
The parameters include:
|
The parameters include:
|
||||||
|
|
||||||
@@ -49,22 +49,22 @@ The parameters include:
|
|||||||
|
|
||||||
Before setting any parameter, the plugin has to be disabled with:
|
Before setting any parameter, the plugin has to be disabled with:
|
||||||
|
|
||||||
$ docker plugin disable store/weaveworks/net-plugin:latest_release
|
$ docker plugin disable weaveworks/net-plugin:latest_release
|
||||||
|
|
||||||
To re-enable the plugin run the following command:
|
To re-enable the plugin run the following command:
|
||||||
|
|
||||||
$ docker plugin enable store/weaveworks/net-plugin:latest_release
|
$ docker plugin enable weaveworks/net-plugin:latest_release
|
||||||
|
|
||||||
### <a name="usage"></a>Running Services or Containers Using the Plugin
|
### <a name="usage"></a>Running Services or Containers Using the Plugin
|
||||||
|
|
||||||
After you have launched the plugin, you can create a network for Docker Swarm
|
After you have launched the plugin, you can create a network for Docker Swarm
|
||||||
services by running the following command on any Docker Swarm master node:
|
services by running the following command on any Docker Swarm master node:
|
||||||
|
|
||||||
$ docker network create --driver=store/weaveworks/net-plugin:latest_release mynetwork
|
$ docker network create --driver=weaveworks/net-plugin:latest_release mynetwork
|
||||||
|
|
||||||
Or you can create a network for any Docker container with:
|
Or you can create a network for any Docker container with:
|
||||||
|
|
||||||
$ docker network create --driver=store/weaveworks/net-plugin:latest_release --attachable mynetwork
|
$ docker network create --driver=weaveworks/net-plugin:latest_release --attachable mynetwork
|
||||||
|
|
||||||
To start a service attached to the network run, for example:
|
To start a service attached to the network run, for example:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user