Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created March 31, 2015 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbayer/a0481cd1b42d27b4e5d5 to your computer and use it in GitHub Desktop.
Save jbayer/a0481cd1b42d27b4e5d5 to your computer and use it in GitHub Desktop.
reply to doug davis blog on lattice
doug,
thanks for writing up your experiences!
it's not too difficult to install it on a VM without vagrant. someone has already done it with heat for example: https://github.com/LaynePeng/heat-lattice
if you look at the Vagrantfile, you can see the provisioning steps are fairly simple:
https://github.com/cloudfoundry-incubator/lattice/blob/master/Vagrantfile#L10-L40
"ltc create" currently creates a diego lrp, so if you want to create an ubuntu image, this works:
ltc create ubuntu ubuntu --no-monitor -- sleep 5000
in the standard ubuntu example above you can see how we turn off the periodic port check monitoring and give it a start command that results in a process to monitor, after 5000 secs the process will exit and lattice would restart it.
please open an issue for your docker image that didn't work for tomcat, as most docker images can work if you understand the constraints and what diego expects.
"ltc debug-logs" are generally helpful for debugging especially if you pipe them to "veritas chug"
https://github.com/pivotal-cf-experimental/veritas
send additional feedback to lattice@cloudfoundry.org as you play more!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment