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. Environment=GOTRACEBACK=crash
  12. Environment=DOCKER_HTTP_HOST_COMPAT=1
  13. Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin
  14. ExecReload=/bin/kill -s HUP $MAINPID
  15. Delegate=yes
  16. KillMode=process
  17. ExecStart=/usr/bin/dockerd-current \
  18. --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current \
  19. --default-runtime=docker-runc \
  20. --exec-opt native.cgroupdriver=systemd \
  21. --userland-proxy-path=/usr/libexec/docker/docker-proxy-current \
  22. $DOCKER_OPTS \
  23. $DOCKER_STORAGE_OPTIONS \
  24. $DOCKER_NETWORK_OPTIONS \
  25. $DOCKER_DNS_OPTIONS \
  26. $ADD_REGISTRY \
  27. $BLOCK_REGISTRY \
  28. $INSECURE_REGISTRY
  29. LimitNOFILE=1048576
  30. LimitNPROC=1048576
  31. LimitCORE=infinity
  32. TimeoutStartSec=1min
  33. Restart=on-abnormal
  34. [Install]
  35. WantedBy=multi-user.target