From 29c831f9d6abf8d650bc7feb63a1e60876238504 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 31 May 2018 12:38:41 -0400 Subject: Add OnBuild support for podman build Only supported for docker formated images. OCI Does not support this flag. Signed-off-by: Daniel J Walsh --- API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'API.md') 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. -- cgit v1.2.3-54-g00ecf