Modifiers | Name | Description |
---|---|---|
static class |
DockerCreateContainer.ExposedPort |
|
static class |
DockerCreateContainer.HealthCheckConfig |
@since 6.7.0 |
static class |
DockerCreateContainer.HostConfig |
@since 6.0.0 |
Fields inherited from class | Fields |
---|---|
class DefaultTask |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
Type | Name and description |
---|---|
Property<Boolean> |
attachStderr |
Property<Boolean> |
attachStdin |
Property<Boolean> |
attachStdout |
ListProperty<String> |
cmd |
Property<String> |
containerId The ID of the container created. |
Property<String> |
containerName |
ListProperty<String> |
entrypoint |
MapProperty<String, String> |
envVars |
ListProperty<ExposedPort> |
exposedPorts |
DockerCreateContainer.HealthCheckConfig |
healthCheck |
DockerCreateContainer.HostConfig |
hostConfig |
Property<String> |
hostName |
Property<String> |
image |
Property<String> |
ipv4Address |
MapProperty<String, String> |
labels |
Property<String> |
macAddress |
ListProperty<String> |
networkAliases |
Property<String> |
pid |
ListProperty<String> |
portSpecs |
Property<Boolean> |
stdinOnce |
Property<Boolean> |
stdinOpen |
Property<Boolean> |
tty |
Property<String> |
user |
ListProperty<String> |
volumes |
Property<String> |
workingDir |
Constructor and description |
---|
DockerCreateContainer
(ObjectFactory objectFactory) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
exposePorts(String internetProtocol, List<Integer> ports) |
|
void |
runRemoteCommand() |
|
void |
withEnvVar(String key, String value) |
The ID of the container created. The value of this property requires the task action to be executed.
Groovy Documentation