Putting Docker, Weave and Photon together
- appcatalyst vm create [your vm name]
- appcatalyst vmpower on [your vm name]
- (wait... 10 seconds or so)
- appcatalyst guest getip [your vm name]
- ssh -i /opt/vmware/appcatalyst/etc/appcatalyst_insecure_ssh_key photon@[ip_address]
now you're in the VM, let's get weave
- sudo curl -L git.io/weave -O /usr/local/bin/weave
- sudo chmod a+x /usr/local/bin/weave
- sudo -s
- /usr/local/bin/weave launch
- /usr/local/bin/weave launch-dns
- /usr/local/bin/weave launch-proxy
- eval $(/usr/local/bin/weave proxy-env)
now you can run docker commands have weave play "nice" (dynamic mapping of --name to weaveDNS, etc.)
No comments:
Post a Comment