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.

37 lines
1.1 KiB

  1. [Unit]
  2. Description=Docker Application Container Engine
  3. Documentation=http://docs.docker.com
  4. After=network.target
  5. Wants=docker-storage-setup.service
  6. [Service]
  7. Type=notify
  8. NotifyAccess=all
  9. EnvironmentFile=-/etc/sysconfig/docker
  10. EnvironmentFile=-/etc/sysconfig/docker-storage
  11. EnvironmentFile=-/etc/sysconfig/docker-network
  12. Environment=GOTRACEBACK=crash
  13. Environment=DOCKER_HTTP_HOST_COMPAT=1
  14. Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin
  15. ExecReload=/bin/kill -s HUP $MAINPID
  16. Delegate=yes
  17. KillMode=process
  18. ExecStart=/usr/bin/dockerd-current \
  19. --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current \
  20. --default-runtime=docker-runc \
  21. --exec-opt native.cgroupdriver=systemd \
  22. --userland-proxy-path=/usr/libexec/docker/docker-proxy-current \
  23. $DOCKER_OPTS \
  24. $DOCKER_STORAGE_OPTIONS \
  25. $DOCKER_NETWORK_OPTIONS \
  26. $DOCKER_DNS_OPTIONS \
  27. $ADD_REGISTRY \
  28. $BLOCK_REGISTRY \
  29. $INSECURE_REGISTRY
  30. LimitNOFILE=1048576
  31. LimitNPROC=1048576
  32. LimitCORE=infinity
  33. TimeoutStartSec=1min
  34. Restart=on-abnormal
  35. [Install]
  36. WantedBy=multi-user.target