@CompileStatic class DockerCommitImage extends DockerExistingContainer
| Type | Name and description |
|---|---|
Property<Boolean> |
attachStderr |
Property<Boolean> |
attachStdin |
Property<String> |
authorAuthor of image e.g. |
Property<String> |
imageIdThe ID of the image committed. |
RegularFileProperty |
imageIdFileOutput file containing the image ID of the image committed. |
Property<String> |
messageCommit message. |
Property<Boolean> |
pause |
Property<String> |
repositoryThe repository and image name e.g. |
Property<String> |
tagThe tag e.g. |
| Constructor and description |
|---|
DockerCommitImage
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
runRemoteCommand() |
| Methods inherited from class | Name |
|---|---|
class DockerExistingContainer |
targetContainerId, targetContainerId, targetContainerId |
class AbstractDockerRemoteApiTask |
getDockerClient, getNextHandler, getRegistryAuthLocator, onComplete, onError, onNext, runRemoteCommand, start |
The ID of the image committed. The value of this property requires the task action to be executed.
Output file containing the image ID of the image committed. Defaults to "$buildDir/.docker/$taskpath-imageId.txt". If path contains ':' it will be replaced by '_'.
The repository and image name e.g. vieux/apache.
Groovy Documentation