Tuesday, July 28, 2015

docker & weave & photon

Putting Docker, Weave and Photon together

  1. appcatalyst vm create [your vm name]
  2. appcatalyst vmpower on [your vm name]
  3. (wait... 10 seconds or so)
  4. appcatalyst guest getip [your vm name]
  5. ssh -i /opt/vmware/appcatalyst/etc/appcatalyst_insecure_ssh_key photon@[ip_address]
now you're in the VM, let's get weave

  1. sudo curl -L -O /usr/local/bin/weave
  2. sudo chmod a+x /usr/local/bin/weave
  3. sudo -s
  4. /usr/local/bin/weave launch
  5. /usr/local/bin/weave launch-dns
  6. /usr/local/bin/weave launch-proxy
  7. 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