mirror of
				https://github.com/docker/compose.git
				synced 2025-11-04 05:34:09 +01:00 
			
		
		
		
	Required re-running `make docs` to pick up changes. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
command: docker compose kill
 | 
						|
short: Force stop service containers.
 | 
						|
long: |-
 | 
						|
    Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
 | 
						|
 | 
						|
    ```console
 | 
						|
    $ docker-compose kill -s SIGINT
 | 
						|
    ```
 | 
						|
usage: docker compose kill [OPTIONS] [SERVICE...]
 | 
						|
pname: docker compose
 | 
						|
plink: docker_compose.yaml
 | 
						|
options:
 | 
						|
    - option: remove-orphans
 | 
						|
      value_type: bool
 | 
						|
      default_value: "false"
 | 
						|
      description: Remove containers for services not defined in the Compose file.
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
    - option: signal
 | 
						|
      shorthand: s
 | 
						|
      value_type: string
 | 
						|
      default_value: SIGKILL
 | 
						|
      description: SIGNAL to send to the container.
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
inherited_options:
 | 
						|
    - option: dry-run
 | 
						|
      value_type: bool
 | 
						|
      default_value: "false"
 | 
						|
      description: Execute command in dry run mode
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
deprecated: false
 | 
						|
hidden: false
 | 
						|
experimental: false
 | 
						|
experimentalcli: false
 | 
						|
kubernetes: false
 | 
						|
swarm: false
 | 
						|
 |