From db5ba61915fe5e3ec3b07c038683d29891e17cc1 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 17 Dec 2015 11:41:44 +0000 Subject: [PATCH] Improve formatting --- site/plugin.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/plugin.md b/site/plugin.md index 21e18821..a45a8586 100644 --- a/site/plugin.md +++ b/site/plugin.md @@ -3,6 +3,8 @@ title: Using Weave Net via Docker Networking layout: default --- +# Weave Plugin + New in Docker version 1.9 is a plugin mechanism to add different network providers. @@ -18,11 +20,11 @@ you remove this container (e.g. using `weave reset`) before removing all endpoints created using `--net=weave`, Docker can [hang](https://github.com/docker/libnetwork/issues/813). -## Starting a container: +## Starting a container $ docker run --net=weave -ti ubuntu -## Using WeaveDNS for Service Discovery: +## Using WeaveDNS for Service Discovery You need to pass the additional arguments `--dns` and `-dns-search`, for which we provide a helper in the weave script: