run docker with vmware on OS X
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cm
LICENSE
README.md

README.md

vm4docker

run docker with vmware on OS X

related to this project

Install

Install brew if you don't have it already.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

For more information go to brew.sh.

Now you need ansible:

brew install ansible

Install the ansible roles

ansible-galaxy install yvess.vm4docker-client yvess.vm4docker-server

Put your ansible roles into your local ansible configuration management. If you are new to ansible you can use the files in ./cm as template.

Update your variables in hosts.

  • docker_hostip=192.168.13.128, ip of your docker vm
  • docker_gatewayip=192.168.13.1, ip of your gateway normally docker_host_ip with .1
  • docker_mac=0e:0c:23:bf:2e:3b, put in you mac address or your docker vm

You should get this values when you ssh into your docker vm and do ifconfig.

No run you ansible rules to setup everything.

ansible-playbook -K main.yml

enjoy your flexible docker setup.