1
0

docker_compose_kill.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. deprecated: false
  34. experimental: false
  35. experimentalcli: false
  36. kubernetes: false
  37. swarm: false