[lxc-users] How to run scripts when container is destroyed?

Sungbae Yoo sungbae.yoo at samsung.com
Fri May 15 00:47:37 UTC 2015


Hi,

I uploaded commit to add lxc.hook.destroy to config.
https://github.com/lxc/lxc/pull/522

It will be take a long time to release a template I making.
But we need lxc.hook.destroy for following.
1. uninstalling some package such as shortcut application to start the
container.
2. disabling some systemd services needed for container.
3. the way to notify container is destroyed.

Best regards,
Sungbae Yoo.



More information about the lxc-users mailing list