docker_start_missed installs a boot unit that starts the containers dockerd's restore pass skipped after a reboot of the whole host. docker_stop_at_shutdown installs a unit that ends container processes at shutdown while the network and NFS shares are still up, so a container holding an NFS mount no longer stalls the shutdown. Both default to false and do nothing without /usr/bin/docker. Refs #369 Assisted-by: Claude Code
12 lines
1.1 KiB
YAML
12 lines
1.1 KiB
YAML
---
|
|
minor_changes:
|
|
- >-
|
|
docker - Add the opt-in inputs ``docker_start_missed`` and ``docker_stop_at_shutdown`` (both default ``false``, so a host that does not
|
|
set them is unchanged) for a host that runs Docker with ``live-restore``. ``docker_start_missed`` installs a boot unit that starts the
|
|
containers dockerd's restore pass skipped after a reboot of the whole host (exited with code 255 during this boot, restart policy
|
|
``unless-stopped`` or ``always``; one stopped on purpose stays stopped), with ``docker_start_missed_settle_seconds`` (default 30).
|
|
``docker_stop_at_shutdown`` installs a unit that ends every container process at shutdown while the network and NFS shares are still up
|
|
(SIGTERM, then SIGKILL after ``docker_stop_at_shutdown_timeout`` seconds, default 30, never ``docker stop`` or ``docker kill``), so that
|
|
a container holding an NFS mount does not stall the shutdown while the network is already down. Setting an input back to ``false``, or ``docker_remove``,
|
|
removes its unit and script. Both units do nothing when ``/usr/bin/docker`` does not exist.
|