mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 19:24:21 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			507 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			507 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
| Feature: Start
 | |
| 
 | |
| Background:
 | |
|     Given a compose file
 | |
|         """
 | |
|         services:
 | |
|           simple:
 | |
|             image: alpine
 | |
|             command: top
 | |
|           another:
 | |
|             image: alpine
 | |
|             command: top
 | |
|         """
 | |
| 
 | |
| Scenario: Start single service
 | |
|     When I run "compose create"
 | |
|     Then the output contains "simple-1  Created"
 | |
|     And the output contains "another-1  Created"
 | |
|     Then I run "compose start another"
 | |
|     And service "another" is "Up"
 | |
|     And service "simple" is "Created"
 |