mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 11:14:02 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			538 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			538 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # docker compose kill
 | |
| 
 | |
| <!---MARKER_GEN_START-->
 | |
| Force stop service containers.
 | |
| 
 | |
| ### Options
 | |
| 
 | |
| | Name | Type | Default | Description |
 | |
| | --- | --- | --- | --- |
 | |
| | `--remove-orphans` |  |  | Remove containers for services not defined in the Compose file. |
 | |
| | `-s`, `--signal` | `string` | `SIGKILL` | SIGNAL to send to the container. |
 | |
| 
 | |
| 
 | |
| <!---MARKER_GEN_END-->
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
 | |
| 
 | |
| ```console
 | |
| $ docker-compose kill -s SIGINT
 | |
| ```
 |