Files
weave/site/boot2docker.md
T
Matthias Radestock 123e8bbb28 reduce likelihood of IP clashes in tests & examples
by using the 10.2 range, which is not one used by docker and also is
less likely than 10.0 to be used by something else.

Fixes #402.
2015-03-09 20:51:26 +00:00

1.1 KiB

title, layout
title layout
Installing Weave with Boot2Docker default

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 the weave 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:

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:

host1$ boot2docker ssh "sudo ./weave launch"

and the 'run' command like this:

host1# C=$(boot2docker ssh "sudo ./weave run 10.2.1.1/24 -t -i ubuntu")

For more information about how to access services running in Boot2Docker from the host or other machines (i.e. outside of the weave network), see these pages: