style95 commented on issue #1790: Add documentation for docker for mac URL: https://github.com/apache/incubator-openwhisk/pull/1790#issuecomment-309695724 FYI, this script is what I am using to deploy OW with docker for mac. It`s not that complicated. ``` export OPENWHISK_HOME=/Users/Naver/git/openwhisk docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 4243:2375 bobrik/socat TCP4-LISTEN:2375,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock docker run --name squid -d -v /Users/Naver/software/squid/squid.conf:/etc/squid3/squid.conf --publish 3128:3128 sameersbn/squid:3.3.8-23 ## this will be changed. DOCKER0=`ifconfig | grep 172.17.0.1` if [ -z "$DOCKER0" ] then sudo ifconfig lo0 alias 172.17.0.1/24 fi ansible-playbook -i environments/mac setup.yml ansible-playbook -i environments/mac couchdb.yml ansible-playbook -i environments/mac initdb.yml ansible-playbook -i environments/mac wipe.yml ansible-playbook -i environments/mac apigateway.yml ansible-playbook -i environments/mac openwhisk.yml ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
