mirror of
https://github.com/containers/skopeo.git
synced 2026-07-14 22:28:37 +00:00
Have 'from', 'commit', and 'build-using-dockerfile' report progress via stderr (so that capturing output from 'from' and 'commit' still works as expected) unless --quiet is used to suppress the reporting. Closes #94. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> Closes: #98 Approved by: rhatdan
42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
## buildah-commit "1" "March 2017" "buildah"
|
|
|
|
## NAME
|
|
buildah commit - Create an image from a working container.
|
|
|
|
## SYNOPSIS
|
|
**buildah** **commit** [*options* [...]] **containerID** [**imageName**]
|
|
|
|
## DESCRIPTION
|
|
Writes a new image using the specified container's read-write layer and if it
|
|
is based on an image, the layers of that image. If an image name is not
|
|
specified, an ID is assigned, but no name is assigned to the image.
|
|
|
|
## OPTIONS
|
|
|
|
**--disable-compression**
|
|
|
|
Don't compress filesystem layers when building the image.
|
|
|
|
**--signature-policy**
|
|
|
|
Pathname of a signature policy file to use. It is not recommended that this
|
|
option be used, as the default behavior of using the system-wide default policy
|
|
(frequently */etc/containers/policy.json*) is most often preferred.
|
|
|
|
**--quiet**
|
|
|
|
When writing the output image, suppress progress output.
|
|
|
|
## EXAMPLE
|
|
|
|
buildah commit containerID
|
|
|
|
buildah commit containerID newImageName
|
|
|
|
buildah commit --disable-compression --signature-policy '/etc/containers/policy.json' containerID
|
|
|
|
buildah commit --disable-compression --signature-policy '/etc/containers/policy.json' containerID newImageName
|
|
|
|
## SEE ALSO
|
|
buildah(1)
|