Package dev.galasa.docker
Annotation Interface DockerContainerConfig
Docker Container Configuation
- Annotation:
- Description:
- The
@DockerContainerConfig
annotation provides an object to manually configure certain aspects of a containers run. Within the annotation, volumes can be requests, for both binding and provisioning. Look at the Docker volume annotation description for more details. The IDockerContainerConfig object it self allows for non provisioing configurations to be set at test time and ammended between container startups. The IDockerContainer object needs to use the startWithConfig() method to take use of the customised startup config - Examples:
@DockerContainerConfig( dockerVolumes = { @DockerVolume(mountPath = "/tmp/testvol"), } ) public IDockerContainerConfig config;
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionMultiple volumes can be mounted within a single configuration
-
Element Details
-
dockerVolumes
DockerVolume[] dockerVolumesMultiple volumes can be mounted within a single configuration- Returns:
- Default:
- {}
-