[lxc-users] Pre and post flight checks for container start/stop

Kees Bos cornelis.bos at gmail.com
Fri Dec 23 05:01:30 UTC 2016


Hi,

Is it possible to do some pre-flight checks before starting a
container. E.g. to verify network connectivity before starting the
container, or to check in a central 'database' that the container isn't
running on a different host and register it? Note, that the preflight
check should be able to cancel a startup.

And similar on stopping a container execute some commands e.g. yo
deactivate registration of the container in the central.


Cheers,

Kees


More information about the lxc-users mailing list