diff --git a/cmd/podman/inspect/inspect.go b/cmd/podman/inspect/inspect.go index 6584636504..3d1ef72aa9 100644 --- a/cmd/podman/inspect/inspect.go +++ b/cmd/podman/inspect/inspect.go @@ -167,6 +167,7 @@ func (i *inspector) inspect(namesOrIDs []string) error { func printJSON(data []interface{}) error { enc := json.NewEncoder(os.Stdout) + enc.SetIndent("", " ") return enc.Encode(data) }