diff --git a/roles/container-engine/docker/templates/docker.service.j2 b/roles/container-engine/docker/templates/docker.service.j2 index c3e2d85a7..526dc2ccd 100644 --- a/roles/container-engine/docker/templates/docker.service.j2 +++ b/roles/container-engine/docker/templates/docker.service.j2 @@ -8,8 +8,7 @@ Wants=docker-storage-setup.service After=network.target docker.socket Wants=docker.socket {% elif ansible_os_family == "Suse" %} -After=network.target containerd.socket containerd.service -Requires=containerd.socket containerd.service +After=network.target {% endif %} [Service] @@ -23,7 +22,7 @@ Delegate=yes KillMode=process ExecStart={{ docker_bin_dir }}/docker{% if installed_docker_version.stdout is version('17.03', '<') %} daemon{% else %}d{% endif %} \ {% if ansible_os_family == "Suse" %} - --containerd /run/containerd/containerd.sock --add-runtime oci=/usr/bin/docker-runc \ + --add-runtime oci=/usr/sbin/docker-runc \ {% endif %} $DOCKER_OPTS \ $DOCKER_STORAGE_OPTIONS \