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
|
@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
* docker: Allow "live-restore" to be toggled with docker_conf_live_restore
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
|
@ -9,6 +9,9 @@ docker_conf_use_iptables: False
|
||||||
# Disable the possibility for containers processes to gain new privileges
|
# Disable the possibility for containers processes to gain new privileges
|
||||||
docker_conf_no_newprivileges: False
|
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
|
# Disable all default network connectivity
|
||||||
docker_conf_disable_default_networking: False
|
docker_conf_disable_default_networking: False
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"data-root": "{{ docker_home }}",
|
"data-root": "{{ docker_home }}",
|
||||||
|
|
||||||
{# Keep containers running while docker daemon downtime #}
|
{# Keep containers running while docker daemon downtime #}
|
||||||
"live-restore": true,
|
"live-restore": {{ docker_conf_live_restore | to_json }},,
|
||||||
|
|
||||||
{# Turn on user namespace remaping #}
|
{# Turn on user namespace remaping #}
|
||||||
"userns-remap": "default",
|
"userns-remap": "default",
|
||||||
|
|
Loading…
Reference in a new issue