Skip to content
Snippets Groups Projects
Unverified Commit e6f1c4df authored by Chad Swenson's avatar Chad Swenson Committed by GitHub
Browse files

Merge pull request #4085 from chadswen/docker-systemd-after-containerd

Fix docker 18.09.1 systemd service
parents 77d31e67 e2592f1c
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
Description=Docker Application Container Engine Description=Docker Application Container Engine
Documentation=http://docs.docker.com Documentation=http://docs.docker.com
{% if ansible_os_family == "RedHat" %} {% if ansible_os_family == "RedHat" %}
After=network.target docker-storage-setup.service After=network.target docker-storage-setup.service{% if installed_docker_version.stdout is version('18.09.1', '>=') %} containerd.service{% endif %}
Wants=docker-storage-setup.service Wants=docker-storage-setup.service
{% elif ansible_os_family == "Debian" %} {% elif ansible_os_family == "Debian" %}
After=network.target docker.socket After=network.target docker.socket{% if installed_docker_version.stdout is version('18.09.1', '>=') %} containerd.service{% endif %}
Wants=docker.socket Wants=docker.socket
{% elif ansible_os_family == "Suse" %} {% elif ansible_os_family == "Suse" %}
After=network.target After=network.target{% if installed_docker_version.stdout is version('18.09.1', '>=') %} containerd.service{% endif %}
{% endif %} {% endif %}
[Service] [Service]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment