summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-06-01 12:59:47 -0400
committerGitHub <noreply@github.com>2018-06-01 12:59:47 -0400
commit3c63a48bb8c1bdff688ce5b6c9c6e3079370e603 (patch)
treed098f85f80fb364e0d8b082ecd1f898cfde2c186 /API.md
parent10d440a1c898aac84198c9c34d48d0cea9085f68 (diff)
parent29c831f9d6abf8d650bc7feb63a1e60876238504 (diff)
downloadpodman-3c63a48bb8c1bdff688ce5b6c9c6e3079370e603.tar.gz
podman-3c63a48bb8c1bdff688ce5b6c9c6e3079370e603.tar.bz2
podman-3c63a48bb8c1bdff688ce5b6c9c6e3079370e603.zip
Merge pull request #859 from rhatdan/onbuild
Add OnBuild support for podman build
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.