mesosphere-backup / deimos

Mesos containerizer hooks for Docker
Apache License 2.0
249 stars 26 forks source link

Implements #46: Hooks to run container launch / shutdown tasks. #52

Closed sethdmoore closed 10 years ago

sethdmoore commented 10 years ago

Launch arbitrary user-specified executables on the host system when containers are launched or destroyed. Environment variables are passed to executable. Arguments may be specified in deimos.cfg. Please see example.cfg.

solidsnack commented 10 years ago

Looks good to me except for some minor formatting things. Please note that master got bumped, also due to formatting (PEP-8 whitespace rules).

sethdmoore commented 10 years ago

I have committed the whitespace changes. Let me know if you need anything else changed.

sethdmoore commented 10 years ago

I have removed the backslash and assigned onl and ond variables for the returned tuple. Let me know if you need anything else :)