Read our peerName from persistence file if necessary

Mount directories for machine ID files into weave container
This commit is contained in:
Bryan Boreham committed 2017-04-17 19:41:47 +00:00
1 parent a26fc67ded
commit 8297652204
2 files changed
+14 -6

No files matched your search

+2
View File
@@ -1399,10 +1399,12 @@ launch_router() {
--volumes-from $DB_CONTAINER_NAME \
-v $RESOLV_CONF_DIR:/var/run/weave/etc \
-v /run/docker/plugins:/run/docker/plugins \
-v /etc:/host/etc -v /var/lib/dbus:/host/var/lib/dbus \
-e WEAVE_PASSWORD \
-e CHECKPOINT_DISABLE \
$WEAVE_DOCKER_ARGS $IMAGE $COVERAGE_ARGS \
--port $CONTAINER_PORT --nickname "$(hostname)" \
--host-root=/host \
$(router_bridge_opts) \
--ipalloc-range "$IPRANGE" \
--dns-effective-listen-address $DOCKER_BRIDGE_IP \