mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 11:14:02 +01:00 
			
		
		
		
	Update rm.md
Receiving this message when using the -a flag : `--all flag is obsolete. This is now the default behavior of `docker-compose rm`, I proposed to mark it in the docs but I don't know which way is the best Signed-off-by: jgsqware <garciagonzalez.julien@gmail.com>
This commit is contained in:
		
							parent
							
								
									bd7db570bd
								
							
						
					
					
						commit
						4b17aa1b9e
					
				| @ -616,8 +616,7 @@ class TopLevelCommand(object): | ||||
|         Options: | ||||
|             -f, --force   Don't ask to confirm removal | ||||
|             -v            Remove any anonymous volumes attached to containers | ||||
|             -a, --all     Obsolete. Also remove one-off containers created by | ||||
|                           docker-compose run | ||||
|             -a, --all     Deprecated - no effect. | ||||
|         """ | ||||
|         if options.get('--all'): | ||||
|             log.warn( | ||||
|  | ||||
| @ -17,8 +17,7 @@ Usage: rm [options] [SERVICE...] | ||||
| Options: | ||||
|     -f, --force   Don't ask to confirm removal | ||||
|     -v            Remove any anonymous volumes attached to containers | ||||
|     -a, --all     Also remove one-off containers created by | ||||
|                   docker-compose run | ||||
|     -a, --all     Deprecated - no effect. | ||||
| ``` | ||||
| 
 | ||||
| Removes stopped service containers. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user