diff --git a/site/using-weave/dynamically-attach-containers.md b/site/using-weave/dynamically-attach-containers.md index 449d2561..4c60af58 100644 --- a/site/using-weave/dynamically-attach-containers.md +++ b/site/using-weave/dynamically-attach-containers.md @@ -14,7 +14,7 @@ To illustrate these scenarios, imagine a netcat service running in a container o Where, - * `C=$(Docker run -e WEAVE_CIDR=none -dti ubuntu)` is a variable for the subnet on which to attach + * `C=$(docker run -e WEAVE_CIDR=none -dti ubuntu)` is a variable for the subnet on which to attach * `weave attach` – the Weave Net command to attach to the specified subnet, which takes the variable for the subnet * `10.2.1.3` - the allocated IP address output by `weave attach` and in this case, represents the default subnet diff --git a/site/using-weave/manual-ip-address.md b/site/using-weave/manual-ip-address.md index 8eedeebb..de3a44ab 100644 --- a/site/using-weave/manual-ip-address.md +++ b/site/using-weave/manual-ip-address.md @@ -21,14 +21,14 @@ For example, in the example, $HOST1 and $HOST2, in CIDR notation you could run y On `$HOST1`: ~~~bash -host1$ Docker run -e WEAVE_CIDR=10.2.1.1/24 -ti ubuntu +host1$ docker run -e WEAVE_CIDR=10.2.1.1/24 -ti ubuntu root@7ca0f6ecf59f:/# ~~~ And $HOST2: ~~~bash -host2$ Docker run -e WEAVE_CIDR=10.2.1.2/24 -ti ubuntu +host2$ docker run -e WEAVE_CIDR=10.2.1.2/24 -ti ubuntu root@04c4831fafd3:/# ~~~