Update docs for removal of 'weave run'
This commit is contained in:
1 parent
98e6571059
commit
481214776b
8 files changed
+29
-48
No files matched your search
@@ -20,6 +20,15 @@ where,
|
||||
|
||||
>Note If you are using the Weave Docker API proxy, it will have modified `DOCKER_HOST` to point to the proxy and therefore you will have to pass `-e WEAVE_CIDR=none` to start a container that _doesn't_ get automatically attached to the weave network for the purposes of this example.
|
||||
|
||||
If `weave attach` sees the container has a hostname with a domain-name, it
|
||||
will add those into WeaveDNS.
|
||||
|
||||
host1$ docker run -dti --name=c1 --hostname=c1.weave.local weaveworks/ubuntu
|
||||
host1$ weave attach c1
|
||||
10.32.0.1
|
||||
host1$ weave dns-lookup c1
|
||||
10.32.0.1
|
||||
|
||||
### Dynamically Detaching Containers
|
||||
|
||||
A container can be detached from a subnet, by using the `weave detach` command:
|
||||
|
||||
Reference in new issue
Block a user