diff --git a/inspect.go b/inspect.go index 5089889e..671d18ee 100644 --- a/inspect.go +++ b/inspect.go @@ -4,7 +4,6 @@ import ( "encoding/json" "fmt" "os" - "os/exec" "time" "github.com/Sirupsen/logrus" @@ -211,11 +210,6 @@ func newManifestFetcher(endpoint registry.APIEndpoint, repoInfo *registry.Reposi return nil, fmt.Errorf("unknown version %d for registry %s", endpoint.Version, endpoint.URL) } -func isDockerAvailable() bool { - _, err := exec.LookPath("docker") - return err == nil -} - func getAuthConfig(c *cli.Context, index *registryTypes.IndexInfo) (types.AuthConfig, error) { var ( username = c.GlobalString("username")