From 8879db8080cfa42b75dc27821848056545fa4745 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Aillet Date: Wed, 14 Nov 2018 23:28:39 +0100 Subject: [PATCH] Add Container lifecycle hooks to glossary (#10984) * Add Container lifecycle hooks to glossary * Add container definition tooltip * Fixes after review --- .../glossary/container-lifecycle-hooks.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/en/docs/reference/glossary/container-lifecycle-hooks.md diff --git a/content/en/docs/reference/glossary/container-lifecycle-hooks.md b/content/en/docs/reference/glossary/container-lifecycle-hooks.md new file mode 100644 index 0000000000..527e2f3e6e --- /dev/null +++ b/content/en/docs/reference/glossary/container-lifecycle-hooks.md @@ -0,0 +1,18 @@ +--- +title: Container Lifecycle Hooks +id: container-lifecycle-hooks +date: 2018-10-08 +full_link: /docs/concepts/containers/container-lifecycle-hooks/ +short_description: > + The lifecycle hooks expose events in the container management lifecycle and let the user run code when the events occur. + +aka: +tags: +- 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. +