2020-08-11 20:01:36 +02:00
|
|
|
[Service]
|
|
|
|
ExecStart=
|
|
|
|
{% if docker_swarm %}
|
|
|
|
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:{{ docker_api_port }} -H fd:// --containerd=/run/containerd/containerd.sock
|
|
|
|
{% else %}
|
|
|
|
ExecStart=/usr/bin/dockerd {% if docker_enable_tcp_socket %} -H tcp://{{ docker_tcp_socket_host }}:{{ docker_tcp_socket_port }} {% endif %} -H fd:// --containerd=/run/containerd/containerd.sock
|
2020-09-10 18:00:37 +02:00
|
|
|
{% endif %}
|