You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2017/09/15 01:38:43 UTC

[incubator-openwhisk] branch master updated: Document how to assign custom network address when creating docker-machine vm (#2700)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 4bb6bd1  Document how to assign custom network address when creating docker-machine vm (#2700)
4bb6bd1 is described below

commit 4bb6bd11892d570a2f7ceb07898b053dc85bf59d
Author: Qaiser Abbasi <qa...@users.noreply.github.com>
AuthorDate: Fri Sep 15 03:38:41 2017 +0200

    Document how to assign custom network address when creating docker-machine vm (#2700)
---
 tools/macos/docker-machine/README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/macos/docker-machine/README.md b/tools/macos/docker-machine/README.md
index 7513bd5..ec33347 100644
--- a/tools/macos/docker-machine/README.md
+++ b/tools/macos/docker-machine/README.md
@@ -50,6 +50,8 @@ docker-machine create -d virtualbox \
    --virtualbox-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v1.12.0/boot2docker.iso \
     whisk # the name of your docker machine
 ```
+Note that by default the third octet chosen by docker-machine will be 99. If you've multiple docker machines
+and want to ensure that the ip of the created whisk vm isn't dependent of the machine start order then provide `--virtualbox-hostonly-cidr "192.168.<third_octet>.1/24"` in order to create a dedicated virtual network interface.
 
 The Docker virtual machine requires some tweaking to work from the Mac host with OpenWhisk.
 The following [script](./tweak-dockermachine.sh) will disable TLS, add port forwarding

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].