docker: Allow live-restore to be toggled with docker_conf_live_restore
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c6dec34f10
commit
134355d190
3 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue