You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
679 B

  1. [Unit]
  2. Description=Docker Application Container Engine
  3. Documentation=http://docs.docker.com
  4. {% if ansible_os_family == "RedHat" %}
  5. After=network.target
  6. Wants=docker-storage-setup.service
  7. {% elif ansible_os_family == "Debian" %}
  8. After=network.target docker.socket
  9. Requires=docker.socket
  10. {% endif %}
  11. [Service]
  12. Type=notify
  13. EnvironmentFile=-/etc/default/docker
  14. Environment=GOTRACEBACK=crash
  15. ExecStart=/usr/bin/docker daemon \
  16. $OPTIONS \
  17. $DOCKER_STORAGE_OPTIONS \
  18. $DOCKER_NETWORK_OPTIONS \
  19. $INSECURE_REGISTRY
  20. LimitNOFILE=1048576
  21. LimitNPROC=1048576
  22. LimitCORE=infinity
  23. MountFlags=slave
  24. TimeoutStartSec=1min
  25. [Install]
  26. WantedBy=multi-user.target