From 81e8a9b98739cd26a3ae55a8a26f18ea1f11ee4a Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Fri, 29 Aug 2014 11:07:45 +0100 Subject: [PATCH] cosmetic --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1d464916..6211ee08 100644 --- a/README.md +++ b/README.md @@ -245,22 +245,23 @@ and then inspect the logs. ## Installation with Boot2Docker -If you are running Docker inside the Boot2Docker VM, e.g. because you are -on a Mac, then the following changes are required to these instructions: +If you are running Docker inside the Boot2Docker VM, e.g. because you +are on a Mac, then the following changes are required to these +instructions: -Assuming you have fetched the 'weave' script via curl or similar, and it -is in the current directory, transfer it to the Boot2Docker VM and make it -executable like this: +Assuming you have fetched the 'weave' script via curl or similar, and +it is in the current directory, transfer it to the Boot2Docker VM and +make it executable like this: host1$ boot2docker ssh "cat > weave" < weave host1$ boot2docker ssh "chmod a+x weave" -Then, if we were trying to create the same containers as in the first example -above, the launch command would be run like this: +Then, if we were trying to create the same containers as in the first +example above, the 'launch' command would be run like this: host1$ WEAVE=$(boot2docker ssh "sudo ./weave launch 10.0.0.1/16") -and the run command like this: +and the 'run' command like this: host1# C=$(boot2docker ssh "sudo ./weave run 10.0.1.1/24 -t -i debian /bin/bash")