diff --git a/Gopkg.lock b/Gopkg.lock index 77816f8..7045d6c 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -88,7 +88,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "86055c933d04a9f46045c437c0e163af6622e85cf0ea6625c54c4222b52e62ab" + inputs-digest = "37871abf94f116d8e8a59b2237a112eaaa983208b2c3131fe761abd7df238104" solver-name = "gps-cdcl" solver-version = 1 - diff --git a/commands/dashboard.go b/commands/dashboard.go index 3c3b9d5..c471a96 100644 --- a/commands/dashboard.go +++ b/commands/dashboard.go @@ -33,8 +33,7 @@ func (cmd *Dashboard) Commands() []cli.Command { func (cmd *Dashboard) Run(ctx *cli.Context) error { if cmd.machine.IsRunning() || util.SupportsNativeDocker() { cmd.out.Info("Launching Dashboard") - err := cmd.LaunchDashboard(cmd.machine) - if err != nil { + if err := cmd.LaunchDashboard(cmd.machine); err == nil { // Success may be presumed to only execute once per command execution. // This allows calling LaunchDashboard() from start.go without success. return cmd.Success("") diff --git a/commands/dns.go b/commands/dns.go index 04281b2..6770b5f 100644 --- a/commands/dns.go +++ b/commands/dns.go @@ -145,7 +145,7 @@ func (cmd *DNS) StartDNS(machine Machine, nameservers string) error { "-l", "com.dnsdock.image=outrigger", "--name", "dnsdock", "-p", fmt.Sprintf("%s:53:53/udp", bridgeIP), - "aacebedo/dnsdock:v1.16.1-amd64", + "aacebedo/dnsdock:v1.16.4-amd64", "--domain=vm", } for _, server := range dnsServers { diff --git a/commands/kill.go b/commands/kill.go index 9949fb9..1bcd2d6 100644 --- a/commands/kill.go +++ b/commands/kill.go @@ -17,7 +17,7 @@ func (cmd *Kill) Commands() []cli.Command { return []cli.Command{ { Name: "kill", - Usage: "Kill the docker-machine", + Usage: "Kill the docker-machine. Useful when stop does not appear to be working", Before: cmd.Before, Action: cmd.Run, }, @@ -40,7 +40,7 @@ func (cmd *Kill) Run(c *cli.Context) error { return err } - cmd.out.Info("Killing machine '%s'", cmd.machine.Name) + cmd.out.Spin(fmt.Sprintf("Killing machine '%s'...", cmd.machine.Name)) util.StreamCommand("docker-machine", "kill", cmd.machine.Name) // Ensure the underlying virtualization has stopped