docker: Allow live-restore to be toggled with docker_conf_live_restore

pull/157/head
Ludovic Poujol 4 months ago
parent c6dec34f10
commit 134355d190
  1. 2
      CHANGELOG.md
  2. 3
      docker-host/defaults/main.yml
  3. 2
      docker-host/templates/daemon.json.j2

@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Changed
* docker: Allow "live-restore" to be toggled with docker_conf_live_restore
### Fixed
### Removed

@ -9,6 +9,9 @@ docker_conf_use_iptables: False
# Disable the possibility for containers processes to gain new privileges
docker_conf_no_newprivileges: False
# Toggle live restore (need to be disabled in swarm mode)
docker_conf_live_restore: True
# Disable all default network connectivity
docker_conf_disable_default_networking: False

@ -5,7 +5,7 @@
"data-root": "{{ docker_home }}",
{# Keep containers running while docker daemon downtime #}
"live-restore": true,
"live-restore": {{ docker_conf_live_restore | to_json }},,
{# Turn on user namespace remaping #}
"userns-remap": "default",

Loading…
Cancel
Save