@CompileStatic abstract class DockerExistingContainer extends AbstractDockerRemoteApiTask
| Type | Name and description |
|---|---|
Property<String> |
containerIdThe ID or name of container used to perform operation. |
| Constructor and description |
|---|
DockerExistingContainer
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
targetContainerId(String containerId)Sets the target container ID or name. |
|
void |
targetContainerId(Callable<String> containerId)Sets the target container ID or name. |
|
void |
targetContainerId(Provider<String> containerId)Sets the target container ID or name. |
| Methods inherited from class | Name |
|---|---|
class AbstractDockerRemoteApiTask |
getDockerClient, getNextHandler, getRegistryAuthLocator, onComplete, onError, onNext, runRemoteCommand, start |
Sets the target container ID or name.
containerId - Container ID or nameSets the target container ID or name.
containerId - Container ID or name as CallableSets the target container ID or name.
containerId - Container ID or name as ProviderGroovy Documentation