summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-05-31 12:38:41 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2018-06-01 10:08:56 -0400
commit29c831f9d6abf8d650bc7feb63a1e60876238504 (patch)
tree4a75e2f9fe83d9296c02509e67b74305bf927392 /API.md
parentff3b46e769bc9a064ee8f45b9dbff8795d94bb7a (diff)
downloadpodman-29c831f9d6abf8d650bc7feb63a1e60876238504.tar.gz
podman-29c831f9d6abf8d650bc7feb63a1e60876238504.tar.bz2
podman-29c831f9d6abf8d650bc7feb63a1e60876238504.zip
Add OnBuild support for podman build
Only supported for docker formated images. OCI Does not support this flag. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/API.md b/API.md
index aaf99dd60..39aa22c42 100755
--- a/API.md
+++ b/API.md
@@ -153,7 +153,7 @@ method Commit(name: [string](https://godoc.org/builtin#string), image_name: [str
Commit, creates an image from an existing container. It requires the name or
ID of the container as well as the resulting image name. Optionally, you can define an author and message
to be added to the resulting image. You can also define changes to the resulting image for the following
-attributes: _CMD, ENTRYPOINT, ENV, EXPOSE, LABEL, STOPSIGNAL, USER, VOLUME, and WORKDIR_. To pause the
+attributes: _CMD, ENTRYPOINT, ENV, EXPOSE, LABEL, ONBUILD, STOPSIGNAL, USER, VOLUME, and WORKDIR_. To pause the
container while it is being committed, pass a _true_ bool for the pause argument. If the container cannot
be found by the ID or name provided, a (ContainerNotFound)[#ContainerNotFound] error will be returned; otherwise,
the resulting image's ID will be returned as a string.