forked from ISTI-ansible-roles/ansible-roles
7 lines
380 B
Plaintext
7 lines
380 B
Plaintext
|
[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
|
||
|
{% endif %}
|