docker: Allow live-restore to be toggled with docker_conf_live_restore
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ludovic Poujol 2022-05-24 16:22:49 +02:00
parent c6dec34f10
commit 134355d190
3 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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",