Files
website/content/en/docs/reference/glossary/container-lifecycle-hooks.md
Pierre-Yves Aillet 8879db8080 Add Container lifecycle hooks to glossary (#10984)
* Add Container lifecycle hooks to glossary

* Add container definition tooltip

* Fixes after review
2018-11-14 14:28:39 -08:00

714 B

title, id, date, full_link, short_description, aka, tags
title id date full_link short_description aka tags
Container Lifecycle Hooks container-lifecycle-hooks 2018-10-08 /docs/concepts/containers/container-lifecycle-hooks/ The lifecycle hooks expose events in the container management lifecycle and let the user run code when the events occur.
extension

The lifecycle hooks expose events in the {{< glossary_tooltip text="Container" term_id="container" >}}container management lifecycle and let the user run code when the events occur.

Two hooks are exposed to Containers: PostStart which executes immediately after a container is created and PreStop which is blocking and is called immediately before a container is terminated.