LXC container hooks
LXC provides a convenient way to execute programs during the life cycle of containers. The following table summarizes the various configuration options available to allow this feature:
Option |
Description |
|
A hook to be run in the host namespace before the container ttys, consoles, or mounts are loaded |
|
A hook to be run in the container's filesystem namespace, but before the |
|
A hook to be run in the container after mounting has been done, but before the |
|
A hook to be run in the container after mounting has been done and after any mount hooks have run, but before the |
|
A hook to be run in the container right before executing the container's init |
|
A hook to be run in the host's namespace after the container has been shut down |
|
A hook to be run in the host's namespace after the container has been shut down... |