diff --git a/processors/local/local.go b/processors/local/local.go index 7185d76..9b5d31c 100644 --- a/processors/local/local.go +++ b/processors/local/local.go @@ -77,6 +77,6 @@ func (p *Processor) ImageExport(sourcePath string) (string, error) { } func inDockerContainer() bool { - _, err := shellCommand("ls", "/.dockerenv") + _, err := shellCommand("which", "image_export.py") return err == nil }