feat: add templates

This commit is contained in:
2025-11-17 15:06:09 +01:00
parent 66f09c49bd
commit 2279f8beba
2 changed files with 15 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{
{% if docker_data_dir is defined and docker_data_dir | length > 0 %}
"data-root": "{{ docker_data_dir }}",
{% endif %}
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}
+4
View File
@@ -0,0 +1,4 @@
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://{{ docker_api_host }}:{{ docker_api_port }} --containerd=/run/containerd/containerd.sock