container-commit: support --squash to squash layers into one

Allow users to commit containers into a single layer.

Usage
```bash
podman container commit --squash <name>
```

Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
Aditya R
2022-02-22 22:10:34 +05:30
parent 0cfb5d7e75
commit fbbcb957c7
12 changed files with 53 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ type CommitOptions struct {
Message string
Pause bool
Quiet bool
Squash bool
Writer io.Writer
}