Docker: pull on app start?

2014-10-27 Thread Donald Laidlaw
I have Mesos 0.20.1 and Marathon 0.7.3 When marathon is creating a new App, and asks Mesos to start an instance, what docker command is run by mesos? The reason I ask is that I am referencing a docker container without a tag, expecting the tag latest to be used. And that seems to work. But

Re: Docker: pull on app start?

2014-10-27 Thread Ankur Chauhan
I had a similar issue and what I ended up doing was to explicitly set the version tag instead of just saying :latest. That makes the whole system much more stable/predictable. For the cost of a single curl call when you push is much better for debugging issues and the state of the system. --

Re: Docker: pull on app start?

2014-10-27 Thread Tim Chen
Originally we don't want to always pull with latest as that's what docker run does as well which skips pull if the image exists, and has different issues involved with this. However with MESOS-1886 we can make this optional, just figuring out where this configuration should be, at the latest