Updated instructions for attach and detach

This commit is contained in:
Bryan Boreham committed 2014-09-23 13:52:41 +01:00
1 parent d1896e86d0
commit a6b83a1234
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -233,11 +233,11 @@ can achieve the same effect as the first example like this:
There is a matching `weave detach` command:
host1# weave detach $C
host1# weave detach 10.0.1.1/24 $C
You can detach a container from one subnet and re-attach it to another:
host1# weave detach $C
host1# weave detach 10.0.1.1/24 $C
host1# weave attach 10.0.2.1/24 $C
or attach a container to multiple subnets:
+1 -1
View File
@@ -6,7 +6,7 @@ usage() {
echo "weave launch <ipaddr>/<subnet> [-passwd <passwd>] <peer_host> ..."
echo "weave run <ipaddr>/<subnet> <docker run args> ..."
echo "weave attach <ipaddr>/<subnet> <container_id>"
echo "weave detach <container_id>"
echo "weave detach <ipaddr>/<subnet> <container_id>"
echo "weave expose <ipaddr>/<subnet>"
echo "weave hide <ipaddr>/<subnet>"
echo "weave status"