docker_compose_kill.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. command: docker compose kill
  2. short: Force stop service containers.
  3. long: |-
  4. Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
  5. ```console
  6. $ docker-compose kill -s SIGINT
  7. ```
  8. usage: docker compose kill [OPTIONS] [SERVICE...]
  9. pname: docker compose
  10. plink: docker_compose.yaml
  11. options:
  12. - option: remove-orphans
  13. value_type: bool
  14. default_value: "false"
  15. description: Remove containers for services not defined in the Compose file.
  16. deprecated: false
  17. hidden: false
  18. experimental: false
  19. experimentalcli: false
  20. kubernetes: false
  21. swarm: false
  22. - option: signal
  23. shorthand: s
  24. value_type: string
  25. default_value: SIGKILL
  26. description: SIGNAL to send to the container.
  27. deprecated: false
  28. hidden: false
  29. experimental: false
  30. experimentalcli: false
  31. kubernetes: false
  32. swarm: false
  33. inherited_options:
  34. - option: dry-run
  35. value_type: bool
  36. default_value: "false"
  37. description: Execute command in dry run mode
  38. deprecated: false
  39. hidden: false
  40. experimental: false
  41. experimentalcli: false
  42. kubernetes: false
  43. swarm: false
  44. deprecated: false
  45. hidden: false
  46. experimental: false
  47. experimentalcli: false
  48. kubernetes: false
  49. swarm: false