func DockerOutput(opts *[]string) ([]byte, error) {
	cmd := Docker(opts)
	return cmd.Output()
}
DockerOutput runs a docker function behind the scenes and returns the output
package internal
import (
	"fmt"
	"os"
	"os/exec"
	ahab "github.com/MichaelDarr/ahab/pkg"
)
func Docker(opts *[]string) (cmd *exec.Cmd) {
	cmd = exec.Command("docker", *opts...)
	return
}
func DockerCmd(opts *[]string) error {
	cmd := Docker(opts)
	cmd.Stdin, cmd.Stdout, cmd.Stderr = os.Stdin, os.Stdout, os.Stderr
	userConfig, err := UserConfig()
	if err == nil && !userConfig.HideCommands {
		ahab.PrintCmd(cmd)
	}
	return cmd.Run()
}