From 474f1f36739e4bb3b03855979e1efe68df3cb78c Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 30 Oct 2017 20:40:11 +0000 Subject: [PATCH] document using v2 plugin from dockerhub rather than store Since the latter is hard to update and hence frequently out of date. Fixes #3153. --- site/install/plugin/plugin-how-it-works.md | 4 ++-- site/install/plugin/plugin-v2.md | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/site/install/plugin/plugin-how-it-works.md b/site/install/plugin/plugin-how-it-works.md index ef42a9a8..f41d517c 100644 --- a/site/install/plugin/plugin-how-it-works.md +++ b/site/install/plugin/plugin-how-it-works.md @@ -8,7 +8,7 @@ search_type: Documentation 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 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. ### 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 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. * Requires Docker to run in [swarm mode](https://docs.docker.com/engine/swarm/swarm-mode/). diff --git a/site/install/plugin/plugin-v2.md b/site/install/plugin/plugin-v2.md index 19016a45..fbb18801 100644 --- a/site/install/plugin/plugin-v2.md +++ b/site/install/plugin/plugin-v2.md @@ -9,7 +9,7 @@ search_type: Documentation * [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/). -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 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 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 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: - $ docker plugin set store/weaveworks/net-plugin:latest_release PARAM=VALUE + $ docker plugin set weaveworks/net-plugin:latest_release PARAM=VALUE The parameters include: @@ -49,22 +49,22 @@ The parameters include: 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: - $ docker plugin enable store/weaveworks/net-plugin:latest_release + $ docker plugin enable weaveworks/net-plugin:latest_release ### Running Services or Containers Using the Plugin 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: - $ 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: - $ 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: