From 037c222a70f91e7fe40379ab2029c0740f206412 Mon Sep 17 00:00:00 2001 From: Magnus Skjegstad Date: Thu, 6 Jul 2017 12:36:57 +0200 Subject: [PATCH] docs: add acpi section to hyperkit docs Signed-off-by: Magnus Skjegstad --- docs/platform-hyperkit.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/platform-hyperkit.md b/docs/platform-hyperkit.md index 483207bcf..9fcb3ce57 100644 --- a/docs/platform-hyperkit.md +++ b/docs/platform-hyperkit.md @@ -31,6 +31,12 @@ The HyperKit backend support configuring a persistent disk using the standard `linuxkit` `-disk` syntax. Currently, only one disk is supported and the disk is in raw format. +## Power management + +HyperKit sends an ACPI power event when it receives SIGTERM to allow the VM to +shut down properly. The VM has to be able to receive ACPI events to initiate the +shutdown. This is provided by the [`acpid` package](../pkg/acpid). An example +is available in the [Docker for Mac blueprint](../blueprints/docker-for-mac/base.yml). ## Networking