reword
This commit is contained in:
1 parent
02efccc36a
commit
d10ce1e801
1 file changed
+9
-16
@@ -434,25 +434,18 @@ re-connect.
|
|||||||
|
|
||||||
### Reboots
|
### Reboots
|
||||||
|
|
||||||
If the host you are running your containers on gets rebooted, the
|
When a host reboots, docker's default behaviour is to restart any
|
||||||
default behaviour of Docker is to restart any containers that were
|
containers that were running. Since weave relies on special network
|
||||||
running, but weave relies on a bridge and virtual ethernet devices
|
configuration outside of the containers, the weave network will not
|
||||||
being set up outside of the containers, so the weave network will not
|
|
||||||
function in this state.
|
function in this state.
|
||||||
|
|
||||||
For the weave router, the best thing is to stop any container that
|
To remedy this, stop and re-launch the weave container, and re-attach
|
||||||
Docker may have restarted and re-launch, i.e. something like:
|
the application containers with `weave attach`.
|
||||||
|
|
||||||
host1# weave stop
|
For a mor permanent solution,
|
||||||
host1# weave launch 10.0.0.1/16
|
[disable Docker's auto-restart feature](https://docs.docker.com/articles/host_integration/),
|
||||||
|
and create appropriate startup scripts to launch weave and run
|
||||||
After that, other containers may be re-attached if you can identify
|
application containers from your favourite process manager.
|
||||||
them, like this:
|
|
||||||
|
|
||||||
host1# weave attach 10.0.1.1/24 <mycontainer>
|
|
||||||
|
|
||||||
Alternatively, you may prefer to disable the auto-restart feature in
|
|
||||||
Docker as described [here](https://docs.docker.com/articles/host_integration/).
|
|
||||||
|
|
||||||
## Installation with Boot2Docker
|
## Installation with Boot2Docker
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user