Exemple #1
0
func Command(args []string) {
	parseFlags(args)

	awsIsDefault()

	onlyOnePlatformTypeSpecified()

	unsupported("aws", aws)
	unsupported("hosted", hosted)

	storeDockerConfiguration(newConfiguration())

	var err error
	dockerClient, err = containers.NewDockerClient()
	ensureNoError(err, "Unable to configure docker client")

	runBus()
}
Exemple #2
0
func Command(args []string) {
	var err error
	dockerClient, err = containers.NewDockerClient()
	ensureNoError(err, "Unable to configure docker client")
	runApp()
}