diff --git a/commands/history/export.go b/commands/history/export.go index e313fdf626f2..35114450d2de 100644 --- a/commands/history/export.go +++ b/commands/history/export.go @@ -102,6 +102,7 @@ func runExport(ctx context.Context, dockerCli command.Cli, opts exportOptions) e if err != nil { return err } + visited[rec.node] = struct{}{} clients = append(clients, c) }