Add instructions for building on a Vargant VM without logging in
This commit is contained in:
1 parent
db28286a4b
commit
0881fa0c69
1 file changed
+17
@@ -162,6 +162,23 @@ vm$ sudo docker ps
|
|||||||
|
|
||||||
and so on.
|
and so on.
|
||||||
|
|
||||||
|
If you are looking to just do a build and not run anything on this VM,
|
||||||
|
you can do so with
|
||||||
|
```bash
|
||||||
|
$ vagrant ssh -c 'make -C src/github.com/weaveworks/weave'
|
||||||
|
```
|
||||||
|
|
||||||
|
you should then find container snapshot tarballs in the top-level
|
||||||
|
directory. You can use these snapshots with `docker load` agains a
|
||||||
|
different host, e.g.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ export DOCKER_HOST=tcp://<HOST:PORT>
|
||||||
|
$ docker load < weave.tar
|
||||||
|
$ docker load < weavedns.tar
|
||||||
|
$ docker load < weaveexec.tar
|
||||||
|
```
|
||||||
|
|
||||||
You can provide extra Vagrant configuration by putting a file
|
You can provide extra Vagrant configuration by putting a file
|
||||||
`Vagrant.local` in the same place as `Vagrantfile`; for instance, to
|
`Vagrant.local` in the same place as `Vagrantfile`; for instance, to
|
||||||
forward additional ports.
|
forward additional ports.
|
||||||
Reference in new issue
Block a user