> > These steps need to run external to the docker container being launched. > Based on the documentation, I couldn't find a way to achieve these in > Apache Aurora. Can someone let me know if this is indeed possible?
There is no support for this sort of functionality in Aurora, at least not yet (ideas/proposals are welcome!). You can accomplish *some* of that by configuring your custom logic to run within your task image though. I also wanted to know if arbitrary resources modeled in Mesos can be > expressed in an Aurora job definition, assuming that resource isolation is > handled externally. We are currently working on generalizing resource management in Aurora to simplify adding new resource types. That said, having a fully dynamic (e.g. config file driven) support for adding arbitrary resource types is not our goal at the moment. You can find more details here <https://docs.google.com/document/d/1J9SIswRMpVKQpnlvJAMAJtKfPP7ZARFknuyXl-2aZ-M> . On Fri, May 6, 2016 at 6:51 AM, Bharath Ravi Kumar <[email protected]> wrote: > Hi, > > I need the ability to run a few pre-lauch steps (e.g. create a custom work > directory) and post launch steps (e.g. docker inspect) on the physical host > when launching a docker container. These steps need to run external to the > docker container being launched. Based on the documentation, I couldn't > find a way to achieve these in Apache Aurora. Can someone let me know if > this is indeed possible? > > I also wanted to know if arbitrary resources modeled in Mesos can be > expressed in an Aurora job definition, assuming that resource isolation is > handled externally. > > Thanks, > Bharath >
