Skip to content
Snippets Groups Projects
Commit d94253ff authored by Chris Bell's avatar Chris Bell Committed by GitHub
Browse files

Modify calico docker.service

parent dc90c594
Branches
Tags
No related merge requests found
...@@ -12,9 +12,9 @@ Requires=docker.socket ...@@ -12,9 +12,9 @@ Requires=docker.socket
[Service] [Service]
Type=notify Type=notify
{% if ansible_os_family == "RedHat" %} {% if ansible_os_family == "RedHat" %}
EnvironmentFile=-/etc/sysconfig/docker EnvironmentFile=-/etc/default/docker
EnvironmentFile=-/etc/sysconfig/docker-network EnvironmentFile=-/etc/default/docker-network
EnvironmentFile=-/etc/sysconfig/docker-storage EnvironmentFile=-/etc/docker/docker-storage
{% elif ansible_os_family == "Debian" %} {% elif ansible_os_family == "Debian" %}
EnvironmentFile=-/etc/default/docker EnvironmentFile=-/etc/default/docker
{% endif %} {% endif %}
...@@ -23,7 +23,8 @@ ExecStart=/usr/bin/docker daemon \ ...@@ -23,7 +23,8 @@ ExecStart=/usr/bin/docker daemon \
$OPTIONS \ $OPTIONS \
$DOCKER_STORAGE_OPTIONS \ $DOCKER_STORAGE_OPTIONS \
$DOCKER_NETWORK_OPTIONS \ $DOCKER_NETWORK_OPTIONS \
$INSECURE_REGISTRY $INSECURE_REGISTRY \
$DOCKER_OPTS
LimitNOFILE=1048576 LimitNOFILE=1048576
LimitNPROC=1048576 LimitNPROC=1048576
LimitCORE=infinity LimitCORE=infinity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment