mirror of https://github.com/docker/docs.git
				
				
				
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			369 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			369 B
		
	
	
	
		
			Go
		
	
	
	
| package commands
 | |
| 
 | |
| import (
 | |
| 	"github.com/docker/machine/libmachine"
 | |
| 	"github.com/docker/machine/libmachine/log"
 | |
| )
 | |
| 
 | |
| func cmdStart(c CommandLine, api libmachine.API) error {
 | |
| 	if err := runAction("start", c, api); err != nil {
 | |
| 		return err
 | |
| 	}
 | |
| 
 | |
| 	log.Info("Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.")
 | |
| 
 | |
| 	return nil
 | |
| }
 |