Package org.ivoa.dm.executionbroker
Class DockerContainer.DockerContainerBuilder
java.lang.Object
org.ivoa.dm.executionbroker.DockerContainer.DockerContainerBuilder
- Enclosing class:
- DockerContainer
A builder class for DockerContainer, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionOverwrite the default ENTRYPOINT of the image.A name => value map of environment variables to pass to the container.Details of the container image..The component metadata.Details of the network access available to the container.Set the privileged flag on execution. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
image
Details of the container image. -
privileged
Set the privileged flag on execution. The default is `false`. See https://docs.docker.com/reference/cli/docker/container/run/#privileged. -
entrypoint
Overwrite the default ENTRYPOINT of the image. -
environment
A name => value map of environment variables to pass to the container. -
network
Details of the network access available to the container. -
lifecycle
. -
meta
The component metadata.
-
-
Constructor Details
-
DockerContainerBuilder
public DockerContainerBuilder()
-
-
Method Details
-
create
create a DockerContainer from this builder.- Returns:
- an object initialized from the builder.
-