diff options
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_commit.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_commit.go b/libpod/container_commit.go index bc38c200e..354aff8b9 100644 --- a/libpod/container_commit.go +++ b/libpod/container_commit.go @@ -2,6 +2,7 @@ package libpod import ( "context" + "fmt" "strings" is "github.com/containers/image/storage" @@ -142,5 +143,6 @@ func (c *Container) Commit(ctx context.Context, destImage string, options Contai if err = importBuilder.Commit(ctx, imageRef, commitOptions); err != nil { return nil, err } + fmt.Fprintf(commitOptions.ReportWriter, importBuilder.Comment()) return c.runtime.imageRuntime.NewFromLocal(imageRef.DockerReference().String()) } |