Fix problems with docker-host daemon.json config
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
e5cae4ba78
commit
08db5a5140
|
@ -24,6 +24,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* Proper jinja spacing
|
* Proper jinja spacing
|
||||||
* evolinux-base: ensure dbus is started and enabled (not by default in the case of an offline netinst)
|
* evolinux-base: ensure dbus is started and enabled (not by default in the case of an offline netinst)
|
||||||
* elasticsearch : use logrotate for garbage collector logs instead of breaking compression cron
|
* elasticsearch : use logrotate for garbage collector logs instead of breaking compression cron
|
||||||
|
* docker-host: fix type in daemon.json and remove host configuration that is already in the systemd service by default
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -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": {{ docker_conf_live_restore | to_json }},,
|
"live-restore": {{ docker_conf_live_restore | to_json }},
|
||||||
|
|
||||||
{# Turn on user namespace remaping #}
|
{# Turn on user namespace remaping #}
|
||||||
"userns-remap": "default",
|
"userns-remap": "default",
|
||||||
|
@ -34,7 +34,5 @@
|
||||||
|
|
||||||
{% if docker_remote_access_enabled %}
|
{% if docker_remote_access_enabled %}
|
||||||
"hosts": ["tcp://{{ docker_daemon_listening_ip }}:{{ docker_daemon_port }}", "fd://"]
|
"hosts": ["tcp://{{ docker_daemon_listening_ip }}:{{ docker_daemon_port }}", "fd://"]
|
||||||
{% else %}
|
|
||||||
"hosts": ["fd://"]
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue