Skip navigation links
A B C D E F G H I K L M O P R S T U V W 

A

AbstractWaitStrategy() - Constructor for class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
 
accept(OutputFrame) - Method in class org.testcontainers.containers.output.Slf4jLogConsumer
 
accept(OutputFrame) - Method in class org.testcontainers.containers.output.ToStringConsumer
 
accept(OutputFrame) - Method in class org.testcontainers.containers.output.WaitingConsumer
 
accessMode - Variable in enum org.testcontainers.containers.BindMode
 
add(String, String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.AddStatementTrait
 
addConsumer(OutputFrame.OutputType, Consumer<OutputFrame>) - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
Set this callback to use the specified consumer for the given output type.
addEnv(String, String) - Method in interface org.testcontainers.containers.Container
Add an environment variable to be passed to the container.
addEnv(String, String) - Method in class org.testcontainers.containers.GenericContainer
Add an environment variable to be passed to the container.
addExposedPort(Integer) - Method in interface org.testcontainers.containers.Container
Add an exposed port.
addExposedPort(Integer) - Method in class org.testcontainers.containers.GenericContainer
 
addExposedPorts(int...) - Method in interface org.testcontainers.containers.Container
Add exposed ports.
addExposedPorts(int...) - Method in class org.testcontainers.containers.GenericContainer
 
addFileSystemBind(String, String, BindMode) - Method in interface org.testcontainers.containers.Container
Adds a file system binding.
addFileSystemBind(String, String, BindMode) - Method in class org.testcontainers.containers.GenericContainer
Adds a file system binding.
addFixedExposedPort(int, int) - Method in class org.testcontainers.containers.GenericContainer
Add a container port that should be bound to a fixed port on the docker host.
addLink(LinkableContainer, String) - Method in interface org.testcontainers.containers.Container
Add a link to another container.
addLink(LinkableContainer, String) - Method in class org.testcontainers.containers.GenericContainer
 
AddStatementTrait<SELF extends AddStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
AmbassadorContainer<SELF extends AmbassadorContainer<SELF>> - Class in org.testcontainers.containers
An ambassador container is used as a TCP proxy, enabling any TCP port of another linked container to be exposed publicly, even if that container does not make the port public itself.
AmbassadorContainer(LinkableContainer, String, int) - Constructor for class org.testcontainers.containers.AmbassadorContainer
 
appendArguments(StringBuilder) - Method in class org.testcontainers.images.builder.dockerfile.statement.KeyValuesStatement
 
appendArguments(StringBuilder) - Method in class org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement
 
appendArguments(StringBuilder) - Method in class org.testcontainers.images.builder.dockerfile.statement.RawStatement
 
appendArguments(StringBuilder) - Method in class org.testcontainers.images.builder.dockerfile.statement.SingleArgumentStatement
 
appendArguments(StringBuilder) - Method in class org.testcontainers.images.builder.dockerfile.statement.Statement
 
apply(Statement, Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
 
args - Variable in class org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement
 
argument - Variable in class org.testcontainers.images.builder.dockerfile.statement.SingleArgumentStatement
 
AuditLogger - Class in org.testcontainers.utility
Logger for tracking potentially destructive actions, intended for usage in a shared Docker environment where traceability is needed.
AuditLogger() - Constructor for class org.testcontainers.utility.AuditLogger
 
AuditLoggingDockerClient - Class in org.testcontainers.dockerclient
Wrapper for DockerClient to facilitate 'audit logging' of potentially destruction actions using AuditLogger.
AuditLoggingDockerClient(DockerClient) - Constructor for class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
AVAILABLE_IMAGE_NAME_CACHE - Static variable in class org.testcontainers.images.RemoteDockerImage
 

B

Base58 - Class in org.testcontainers.utility
Utility class for creation of random strings of 58 easy-to-distinguish characters.
Base58() - Constructor for class org.testcontainers.utility.Base58
 
BindMode - Enum in org.testcontainers.containers
Possible modes for binding storage volumes.
build() - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
 
BuildContextBuilderTrait<SELF extends BuildContextBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
base BuildContextBuilder's trait

C

checkStartupState(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.IsRunningStartupCheckStrategy
 
checkStartupState(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.MinimumDurationRunningStartupCheckStrategy
 
checkStartupState(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.OneShotStartupCheckStrategy
 
checkStartupState(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
 
ClasspathTrait<SELF extends ClasspathTrait<SELF> & BuildContextBuilderTrait<SELF> & FilesTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
BuildContextBuilder's trait for classpath-based resources.
client - Variable in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
client() - Method in class org.testcontainers.DockerClientFactory
 
close() - Method in class org.testcontainers.containers.GenericContainer
 
close() - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
 
cmd(String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.CmdStatementTrait
 
cmd(String...) - Method in interface org.testcontainers.images.builder.dockerfile.traits.CmdStatementTrait
 
CmdStatementTrait<SELF extends CmdStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
CommandLine - Class in org.testcontainers.utility
Process execution utility methods.
CommandLine() - Constructor for class org.testcontainers.utility.CommandLine
 
ComparableVersion - Class in org.testcontainers.utility
 
ComparableVersion(String) - Constructor for class org.testcontainers.utility.ComparableVersion
 
compareTo(ComparableVersion) - Method in class org.testcontainers.utility.ComparableVersion
 
config - Variable in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
configure() - Method in class org.testcontainers.containers.GenericContainer
 
configure() - Method in class org.testcontainers.containers.VncRecordingSidekickContainer
 
configure(BuildImageCmd) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
 
Container<SELF extends Container<SELF>> - Interface in org.testcontainers.containers
 
container - Variable in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
 
Container.ExecResult - Class in org.testcontainers.containers
Class to hold results from a "docker exec" command.
CONTAINER_RUNNING_TIMEOUT_SEC - Static variable in class org.testcontainers.containers.GenericContainer
 
ContainerFetchException - Exception in org.testcontainers.containers
Created by rnorth on 15/10/2015.
ContainerFetchException(String, Exception) - Constructor for exception org.testcontainers.containers.ContainerFetchException
 
ContainerFetchException(String) - Constructor for exception org.testcontainers.containers.ContainerFetchException
 
containerId - Variable in class org.testcontainers.containers.GenericContainer
 
containerIsStarted(InspectContainerResponse) - Method in class org.testcontainers.containers.GenericContainer
 
containerIsStarting(InspectContainerResponse) - Method in class org.testcontainers.containers.GenericContainer
 
containerIsStarting(InspectContainerResponse) - Method in class org.testcontainers.containers.VncRecordingSidekickContainer
 
ContainerLaunchException - Exception in org.testcontainers.containers
AN exception that may be raised during launch of a container.
ContainerLaunchException(String) - Constructor for exception org.testcontainers.containers.ContainerLaunchException
 
ContainerLaunchException(String, Exception) - Constructor for exception org.testcontainers.containers.ContainerLaunchException
 
containerName - Variable in class org.testcontainers.containers.GenericContainer
 
copy(String, String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.CopyStatementTrait
 
CopyStatementTrait<SELF extends CopyStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
createContainerCmd(String) - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
createMinGWPath(String) - Static method in class org.testcontainers.utility.PathUtils
Create a MinGW compatible path based on usual Windows path
createNetworkCmd() - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
createVolumeDirectory(boolean) - Method in class org.testcontainers.containers.GenericContainer
Creates a directory on the local filesystem which will be mounted as a volume for the container.

D

DEFAULT_DIR_MODE - Static variable in interface org.testcontainers.images.builder.Transferable
 
DEFAULT_FILE_MODE - Static variable in interface org.testcontainers.images.builder.Transferable
 
defaultWaitStrategy() - Static method in class org.testcontainers.containers.wait.Wait
Convenience method to return the default WaitStrategy.
DOCKER_SOCK_PATH - Static variable in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
 
dockerApiAtLeast(String) - Static method in class org.testcontainers.utility.TestEnvironment
 
dockerClient - Variable in class org.testcontainers.containers.GenericContainer
 
DockerClientConfigUtils - Class in org.testcontainers.dockerclient
 
DockerClientConfigUtils() - Constructor for class org.testcontainers.dockerclient.DockerClientConfigUtils
 
DockerClientFactory - Class in org.testcontainers
Singleton class that provides initialized Docker clients.
DockerClientProviderStrategy - Class in org.testcontainers.dockerclient
Mechanism to find a viable Docker client configuration according to the host system environment.
DockerClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
DockerComposeContainer<SELF extends DockerComposeContainer<SELF>> - Class in org.testcontainers.containers
Container which launches Docker Compose, for the purposes of launching a defined set of containers.
DockerComposeContainer(File, String) - Constructor for class org.testcontainers.containers.DockerComposeContainer
Deprecated.
DockerComposeContainer(File...) - Constructor for class org.testcontainers.containers.DockerComposeContainer
 
DockerComposeContainer(List<File>) - Constructor for class org.testcontainers.containers.DockerComposeContainer
 
DockerComposeContainer(String, File...) - Constructor for class org.testcontainers.containers.DockerComposeContainer
 
DockerComposeContainer(String, List<File>) - Constructor for class org.testcontainers.containers.DockerComposeContainer
 
dockerDaemonInfo - Variable in class org.testcontainers.containers.GenericContainer
 
dockerExecutionDriverSupportsExec() - Static method in class org.testcontainers.utility.TestEnvironment
 
DockerfileBuilder - Class in org.testcontainers.images.builder.dockerfile
 
DockerfileBuilder() - Constructor for class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
 
DockerfileBuilderTrait<SELF extends DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
DockerfileTrait<SELF extends DockerfileTrait<SELF> & BuildContextBuilderTrait<SELF> & StringsTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
BuildContextBuilder's trait for Dockerfile-based resources.
dockerHostIpAddress() - Method in class org.testcontainers.DockerClientFactory
 
DockerImageName - Class in org.testcontainers.utility
 
dockerIsDockerMachine() - Static method in class org.testcontainers.utility.TestEnvironment
 
DockerLoggerFactory - Class in org.testcontainers.utility
 
DockerLoggerFactory() - Constructor for class org.testcontainers.utility.DockerLoggerFactory
 
DockerMachineClient - Class in org.testcontainers.utility
Created by rnorth on 27/10/2015.
DockerMachineClientProviderStrategy - Class in org.testcontainers.dockerclient
Use Docker machine (if available on the PATH) to locate a Docker environment.
DockerMachineClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
 
DockerStatus - Class in org.testcontainers.utility
Utility functions for dealing with docker status based on the information available to us, and trying to be defensive.
DockerStatus() - Constructor for class org.testcontainers.utility.DockerStatus
 
doComposeLog(String[], List<String>) - Static method in class org.testcontainers.utility.AuditLogger
 
doLog(String, String, String, DockerCmd<?>) - Static method in class org.testcontainers.utility.AuditLogger
 
doLog(String, String, String, DockerCmd<?>, Exception) - Static method in class org.testcontainers.utility.AuditLogger
 

E

END - Static variable in class org.testcontainers.containers.output.OutputFrame
 
ensureMachineRunning(String) - Method in class org.testcontainers.utility.DockerMachineClient
 
entries - Variable in class org.testcontainers.images.builder.dockerfile.statement.KeyValuesStatement
 
entryPoint(String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.EntryPointStatementTrait
 
entryPoint(String...) - Method in interface org.testcontainers.images.builder.dockerfile.traits.EntryPointStatementTrait
 
EntryPointStatementTrait<SELF extends EntryPointStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
env(String, String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.EnvStatementTrait
 
env(Map<String, String>) - Method in interface org.testcontainers.images.builder.dockerfile.traits.EnvStatementTrait
 
EnvironmentAndSystemPropertyClientProviderStrategy - Class in org.testcontainers.dockerclient
Use environment variables and system properties (as supported by the underlying DockerClient DefaultConfigBuilder) to try and locate a docker environment.
EnvironmentAndSystemPropertyClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
 
EnvStatementTrait<SELF extends EnvStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
execInContainer(String...) - Method in interface org.testcontainers.containers.Container
Run a command inside a running container, as though using "docker exec", and interpreting the output as UTF8.
execInContainer(Charset, String...) - Method in interface org.testcontainers.containers.Container
Run a command inside a running container, as though using "docker exec".
execInContainer(String...) - Method in class org.testcontainers.containers.GenericContainer
Run a command inside a running container, as though using "docker exec", and interpreting the output as UTF8.
execInContainer(Charset, String...) - Method in class org.testcontainers.containers.GenericContainer
Run a command inside a running container, as though using "docker exec".
ExecResult(String, String) - Constructor for class org.testcontainers.containers.Container.ExecResult
 
executableExists(String) - Static method in class org.testcontainers.utility.CommandLine
Check whether an executable exists, either at a specific path (if a full path is given) or on the PATH.
expose(Integer...) - Method in interface org.testcontainers.images.builder.dockerfile.traits.ExposeStatementTrait
 
ExposeStatementTrait<SELF extends ExposeStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 

F

failed(Throwable, Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
 
FailureDetectingExternalResource - Class in org.testcontainers.containers
TestRule which is called before and after each test, and also is notified on success/failure.
FailureDetectingExternalResource() - Constructor for class org.testcontainers.containers.FailureDetectingExternalResource
 
fetchDockerDaemonInfo() - Method in interface org.testcontainers.containers.Container
 
fetchDockerDaemonInfo() - Method in class org.testcontainers.containers.GenericContainer
 
FilesTrait<SELF extends FilesTrait<SELF> & BuildContextBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
BuildContextBuilder's trait for NIO-based (Files and Paths) manipulations.
finished(Description) - Method in class org.testcontainers.containers.DockerComposeContainer
 
finished(Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
 
finished(Description) - Method in class org.testcontainers.containers.GenericContainer
 
FixedHostPortGenericContainer<SELF extends FixedHostPortGenericContainer<SELF>> - Class in org.testcontainers.containers
Variant of GenericContainer that allows a fixed port on the docker host to be mapped to a container port.
FixedHostPortGenericContainer(String) - Constructor for class org.testcontainers.containers.FixedHostPortGenericContainer
 
followOutput(Consumer<OutputFrame>) - Method in interface org.testcontainers.containers.Container
Follow container output, sending each frame (usually, line) to a consumer.
followOutput(Consumer<OutputFrame>, OutputFrame.OutputType...) - Method in interface org.testcontainers.containers.Container
Follow container output, sending each frame (usually, line) to a consumer.
followOutput(Consumer<OutputFrame>) - Method in class org.testcontainers.containers.GenericContainer
Follow container output, sending each frame (usually, line) to a consumer.
followOutput(Consumer<OutputFrame>, OutputFrame.OutputType...) - Method in class org.testcontainers.containers.GenericContainer
Follow container output, sending each frame (usually, line) to a consumer.
followOutput(DockerClient, String, Consumer<OutputFrame>, OutputFrame.OutputType...) - Method in class org.testcontainers.utility.LogUtils
forClasspathResource(String) - Static method in class org.testcontainers.utility.MountableFile
Obtains a MountableFile corresponding to a resource on the classpath (including resources in JAR files)
forFrame(Frame) - Static method in class org.testcontainers.containers.output.OutputFrame
 
forHostPath(String) - Static method in class org.testcontainers.utility.MountableFile
Obtains a MountableFile corresponding to a file on the docker host filesystem.
forHostPath(Path) - Static method in class org.testcontainers.utility.MountableFile
Obtains a MountableFile corresponding to a file on the docker host filesystem.
forHttp(String) - Static method in class org.testcontainers.containers.wait.Wait
Convenience method to return a WaitStrategy for an HTTP endpoint.
forHttps(String) - Static method in class org.testcontainers.containers.wait.Wait
Convenience method to return a WaitStrategy for an HTTPS endpoint.
forListeningPort() - Static method in class org.testcontainers.containers.wait.Wait
Convenience method to return a WaitStrategy for an exposed or mapped port.
forPath(String) - Method in class org.testcontainers.containers.wait.HttpWaitStrategy
Waits for the given path.
forStatusCode(int) - Method in class org.testcontainers.containers.wait.HttpWaitStrategy
Waits for the given status code.
forStreamType(StreamType) - Static method in enum org.testcontainers.containers.output.OutputFrame.OutputType
 
FrameConsumerResultCallback - Class in org.testcontainers.containers.output
This class can be used as a generic callback for docker-java commands that produce Frames.
FrameConsumerResultCallback() - Constructor for class org.testcontainers.containers.output.FrameConsumerResultCallback
 
from(String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.FromStatementTrait
 
FromStatementTrait<SELF extends FromStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
FutureContainer - Class in org.testcontainers.containers
A container that may not have been launched yet.
FutureContainer() - Constructor for class org.testcontainers.containers.FutureContainer
 

G

GenericContainer<SELF extends GenericContainer<SELF>> - Class in org.testcontainers.containers
Base class for that allows a container to be launched and controlled.
GenericContainer() - Constructor for class org.testcontainers.containers.GenericContainer
 
GenericContainer(String) - Constructor for class org.testcontainers.containers.GenericContainer
 
GenericContainer(Future<String>) - Constructor for class org.testcontainers.containers.GenericContainer
 
GenericContainer.AbstractWaitStrategy - Class in org.testcontainers.containers
Convenience class with access to non-public members of GenericContainer.
get() - Method in class org.testcontainers.utility.LazyFuture
 
get(long, TimeUnit) - Method in class org.testcontainers.utility.LazyFuture
 
getActiveApiVersion() - Method in class org.testcontainers.DockerClientFactory
 
getActiveExecutionDriver() - Method in class org.testcontainers.DockerClientFactory
 
getBinds() - Method in interface org.testcontainers.containers.Container
 
getBytes() - Method in class org.testcontainers.containers.output.OutputFrame
 
getBytes() - Method in interface org.testcontainers.images.builder.Transferable
 
getClient() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
getClientForConfig(DockerClientConfig) - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
getCommandParts() - Method in interface org.testcontainers.containers.Container
 
getCompletionLatch() - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
 
getContainerId() - Method in interface org.testcontainers.containers.Container
 
getContainerInfo() - Method in interface org.testcontainers.containers.Container
 
getContainerIpAddress() - Method in interface org.testcontainers.containers.Container
Get the IP address that this container may be reached on (may not be the local machine).
getContainerIpAddress() - Method in class org.testcontainers.containers.GenericContainer
Get the IP address that this container may be reached on (may not be the local machine).
getContainerName() - Method in interface org.testcontainers.containers.Container
 
getContainerName() - Method in interface org.testcontainers.containers.traits.LinkableContainer
 
getCurrentState(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
 
getDefaultMachine() - Method in class org.testcontainers.utility.DockerMachineClient
 
getDescription() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
getDescription() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
 
getDescription() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
 
getDescription() - Method in class org.testcontainers.dockerclient.ProxiedUnixSocketClientProviderStrategy
 
getDescription() - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
 
getDescription() - Method in class org.testcontainers.dockerclient.WindowsClientProviderStrategy
 
getDescription() - Method in interface org.testcontainers.images.builder.Transferable
 
getDescription() - Method in class org.testcontainers.utility.MountableFile
 
getDockerClient() - Method in interface org.testcontainers.containers.Container
 
getDockerDaemonInfo() - Method in interface org.testcontainers.containers.Container
 
getDockerDaemonIpAddress(String) - Method in class org.testcontainers.utility.DockerMachineClient
 
getDockerHostIpAddress(DockerClientConfig) - Static method in class org.testcontainers.dockerclient.DockerClientConfigUtils
 
getDockerHostIpAddress() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
getDockerImageName() - Method in interface org.testcontainers.containers.Container
Get image name.
getDockerImageName() - Method in class org.testcontainers.containers.GenericContainer
Get image name.
getEnv() - Method in interface org.testcontainers.containers.Container
 
getExposedPorts() - Method in interface org.testcontainers.containers.Container
 
getExtraHosts() - Method in interface org.testcontainers.containers.Container
 
getFileMode() - Method in interface org.testcontainers.images.builder.Transferable
Get file mode.
getFileMode() - Method in class org.testcontainers.utility.MountableFile
 
getFirstValidStrategy(List<DockerClientProviderStrategy>) - Static method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
Determine the right DockerClientConfig to use for building clients by trial-and-error.
getFrames() - Method in class org.testcontainers.containers.output.WaitingConsumer
Get access to the underlying frame buffer.
getImage() - Method in interface org.testcontainers.containers.Container
 
getIpAddress() - Method in class org.testcontainers.containers.GenericContainer
Deprecated.
please use getContainerIpAddress() instead
getLinkedContainers() - Method in interface org.testcontainers.containers.Container
 
getLivenessCheckPort() - Method in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
 
getLivenessCheckPort() - Method in class org.testcontainers.containers.GenericContainer
 
getLivenessCheckPort() - Method in class org.testcontainers.containers.VncRecordingSidekickContainer
 
getLogger(String) - Static method in class org.testcontainers.utility.DockerLoggerFactory
 
getMappedPort(int) - Method in interface org.testcontainers.containers.Container
Get the actual mapped port for a given port exposed by the container.
getMappedPort(int) - Method in class org.testcontainers.containers.GenericContainer
Get the actual mapped port for a given port exposed by the container.
getPassword() - Method in interface org.testcontainers.containers.traits.VncService
 
getPort() - Method in interface org.testcontainers.containers.traits.VncService
 
getPortBindings() - Method in interface org.testcontainers.containers.Container
 
getRateLimiter() - Method in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
 
getRecordingPath() - Method in class org.testcontainers.containers.VncRecordingSidekickContainer
 
getServiceHost(String, Integer) - Method in class org.testcontainers.containers.DockerComposeContainer
Get the host (e.g.
getServicePort(String, Integer) - Method in class org.testcontainers.containers.DockerComposeContainer
Get the port that an exposed service can be found at, from the host machine (i.e.
getSize() - Method in interface org.testcontainers.images.builder.Transferable
Size of an object.
getSize() - Method in class org.testcontainers.utility.MountableFile
 
getStatements() - Method in interface org.testcontainers.images.builder.dockerfile.traits.DockerfileBuilderTrait
 
getStderr() - Method in class org.testcontainers.containers.Container.ExecResult
 
getStdout() - Method in class org.testcontainers.containers.Container.ExecResult
 
getSystemPath() - Static method in class org.testcontainers.utility.CommandLine
 
getTestHostIpAddress() - Method in interface org.testcontainers.containers.Container
Get the IP address that containers (e.g.
getTestHostIpAddress() - Method in class org.testcontainers.containers.GenericContainer
Get the IP address that containers (e.g.
getType() - Method in class org.testcontainers.containers.output.OutputFrame
 
getUtf8String() - Method in class org.testcontainers.containers.output.OutputFrame
 
getVncAddress() - Method in interface org.testcontainers.containers.traits.VncService
 
getWaitStrategy() - Method in class org.testcontainers.containers.GenericContainer
The WaitStrategy to use to determine if the container is ready.

H

HostPortWaitStrategy - Class in org.testcontainers.containers.wait
Waits until a socket connection can be established on a port exposed or mapped by the container.
HostPortWaitStrategy() - Constructor for class org.testcontainers.containers.wait.HostPortWaitStrategy
 
HttpWaitStrategy - Class in org.testcontainers.containers.wait
Waits until an HTTP(S) endpoint returns a given status code.
HttpWaitStrategy() - Constructor for class org.testcontainers.containers.wait.HttpWaitStrategy
 

I

ImageFromDockerfile - Class in org.testcontainers.images.builder
 
ImageFromDockerfile() - Constructor for class org.testcontainers.images.builder.ImageFromDockerfile
 
ImageFromDockerfile(String) - Constructor for class org.testcontainers.images.builder.ImageFromDockerfile
 
ImageFromDockerfile(String, boolean) - Constructor for class org.testcontainers.images.builder.ImageFromDockerfile
 
IN_A_CONTAINER - Static variable in class org.testcontainers.dockerclient.DockerClientConfigUtils
 
IndefiniteWaitOneShotStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
Variant of OneShotStartupCheckStrategy that does not impose a timeout.
IndefiniteWaitOneShotStartupCheckStrategy() - Constructor for class org.testcontainers.containers.startupcheck.IndefiniteWaitOneShotStartupCheckStrategy
 
instance() - Static method in class org.testcontainers.DockerClientFactory
Obtain an instance of the DockerClientFactory.
instance() - Static method in class org.testcontainers.utility.DockerMachineClient
Obtain an instance of the DockerMachineClient wrapper.
instance() - Static method in class org.testcontainers.utility.ResourceReaper
 
isContainerExitCodeSuccess(InspectContainerResponse.ContainerState) - Static method in class org.testcontainers.utility.DockerStatus
 
isContainerRunning(InspectContainerResponse.ContainerState, Duration, Instant) - Static method in class org.testcontainers.utility.DockerStatus
Based on this status, is this container running, and has it been doing so for the specified amount of time?
isContainerStopped(InspectContainerResponse.ContainerState) - Static method in class org.testcontainers.utility.DockerStatus
Based on this status, has the container halted?
isDefaultMachineRunning() - Method in class org.testcontainers.utility.DockerMachineClient
 
isDockerTimestampNonEmpty(String) - Static method in class org.testcontainers.utility.DockerStatus
 
isInstalled() - Method in class org.testcontainers.utility.DockerMachineClient
 
isMachineRunning(String) - Method in class org.testcontainers.utility.DockerMachineClient
 
isRunning() - Method in interface org.testcontainers.containers.Container
 
isRunning() - Method in class org.testcontainers.containers.GenericContainer
IsRunningStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
Simplest possible implementation of StartupCheckStrategy - just check that the container has reached the running state and has not exited.
IsRunningStartupCheckStrategy() - Constructor for class org.testcontainers.containers.startupcheck.IsRunningStartupCheckStrategy
 
isServiceReady() - Method in class org.testcontainers.containers.AmbassadorContainer
 
isUsing(Class<? extends DockerClientProviderStrategy>) - Method in class org.testcontainers.DockerClientFactory
 

K

KeyValuesStatement - Class in org.testcontainers.images.builder.dockerfile.statement
 
KeyValuesStatement(String, Map<String, String>) - Constructor for class org.testcontainers.images.builder.dockerfile.statement.KeyValuesStatement
 
killContainerCmd(String) - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 

L

label(String, String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.LabelStatementTrait
 
label(Map<String, String>) - Method in interface org.testcontainers.images.builder.dockerfile.traits.LabelStatementTrait
 
LabelStatementTrait<SELF extends LabelStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
LazyFuture<T> - Class in org.testcontainers.utility
Future implementation with lazy result evaluation in the same Thread as caller.
LazyFuture() - Constructor for class org.testcontainers.utility.LazyFuture
 
LinkableContainer - Interface in org.testcontainers.containers.traits
A container which can be linked to by other containers.
logger() - Method in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
 
logger() - Method in class org.testcontainers.containers.GenericContainer
Provide a logger that references the docker image name.
LOGGER - Static variable in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
LogMessageWaitStrategy - Class in org.testcontainers.containers.wait
Waits until containers logs expected content.
LogMessageWaitStrategy() - Constructor for class org.testcontainers.containers.wait.LogMessageWaitStrategy
 
LogToStringContainerCallback - Class in org.testcontainers.dockerclient
 
LogToStringContainerCallback() - Constructor for class org.testcontainers.dockerclient.LogToStringContainerCallback
 
LogUtils - Class in org.testcontainers.utility
Provides utility methods for logging.
LogUtils() - Constructor for class org.testcontainers.utility.LogUtils
 

M

MDC_PREFIX - Static variable in class org.testcontainers.utility.AuditLogger
 
MinimumDurationRunningStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
Implementation of StartupCheckStrategy that checks the container is running and has been running for a defined minimum period of time.
MinimumDurationRunningStartupCheckStrategy(Duration) - Constructor for class org.testcontainers.containers.startupcheck.MinimumDurationRunningStartupCheckStrategy
 
mkdirp(Path) - Static method in class org.testcontainers.utility.PathUtils
Make a directory, plus any required parent directories.
MountableFile - Class in org.testcontainers.utility
An abstraction over files and classpath resources aimed at encapsulating all the complexity of generating a path that the Docker daemon is about to create a volume mount for.
MountableFile() - Constructor for class org.testcontainers.utility.MountableFile
 
MultiArgsStatement - Class in org.testcontainers.images.builder.dockerfile.statement
 
MultiArgsStatement(String, String...) - Constructor for class org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement
 

O

onError(Throwable) - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
 
OneShotStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
Implementation of StartupCheckStrategy intended for use with containers that only run briefly and exit of their own accord.
OneShotStartupCheckStrategy() - Constructor for class org.testcontainers.containers.startupcheck.OneShotStartupCheckStrategy
 
onNext(Frame) - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
 
onNext(Frame) - Method in class org.testcontainers.dockerclient.LogToStringContainerCallback
 
org.testcontainers - package org.testcontainers
 
org.testcontainers.containers - package org.testcontainers.containers
 
org.testcontainers.containers.output - package org.testcontainers.containers.output
 
org.testcontainers.containers.startupcheck - package org.testcontainers.containers.startupcheck
 
org.testcontainers.containers.traits - package org.testcontainers.containers.traits
 
org.testcontainers.containers.wait - package org.testcontainers.containers.wait
 
org.testcontainers.dockerclient - package org.testcontainers.dockerclient
 
org.testcontainers.images - package org.testcontainers.images
 
org.testcontainers.images.builder - package org.testcontainers.images.builder
 
org.testcontainers.images.builder.dockerfile - package org.testcontainers.images.builder.dockerfile
 
org.testcontainers.images.builder.dockerfile.statement - package org.testcontainers.images.builder.dockerfile.statement
 
org.testcontainers.images.builder.dockerfile.traits - package org.testcontainers.images.builder.dockerfile.traits
 
org.testcontainers.images.builder.traits - package org.testcontainers.images.builder.traits
 
org.testcontainers.utility - package org.testcontainers.utility
 
OutputFrame - Class in org.testcontainers.containers.output
Holds a frame of container output (usually one line, possibly more)
OutputFrame(OutputFrame.OutputType, byte[]) - Constructor for class org.testcontainers.containers.output.OutputFrame
 
OutputFrame.OutputType - Enum in org.testcontainers.containers.output
 

P

PathUtils - Class in org.testcontainers.utility
Filesystem operation utility methods.
PathUtils() - Constructor for class org.testcontainers.utility.PathUtils
 
performCleanup() - Method in class org.testcontainers.utility.ResourceReaper
Perform a cleanup.
ping(DockerClient, int) - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
ProxiedUnixSocketClientProviderStrategy - Class in org.testcontainers.dockerclient
 
ProxiedUnixSocketClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.ProxiedUnixSocketClientProviderStrategy
 

R

randomString(int) - Static method in class org.testcontainers.utility.Base58
 
RawStatement - Class in org.testcontainers.images.builder.dockerfile.statement
 
RawStatement(String, String) - Constructor for class org.testcontainers.images.builder.dockerfile.statement.RawStatement
 
recursiveDeleteDir(Path) - Static method in class org.testcontainers.utility.PathUtils
Recursively delete a directory and all its subdirectories and files.
registerContainerForCleanup(String, String) - Method in class org.testcontainers.utility.ResourceReaper
Register a container to be cleaned up, either on explicit call to stopAndRemoveContainer, or at JVM shutdown.
registerNetworkForCleanup(String) - Method in class org.testcontainers.utility.ResourceReaper
Register a network to be cleaned up at JVM shutdown.
RemoteDockerImage - Class in org.testcontainers.images
 
RemoteDockerImage(String) - Constructor for class org.testcontainers.images.RemoteDockerImage
 
RemoteDockerImage(String, String) - Constructor for class org.testcontainers.images.RemoteDockerImage
 
removeContainerCmd(String) - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
removeNetworkCmd(String) - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
removeNetworks(String) - Method in class org.testcontainers.utility.ResourceReaper
Removes any networks that contain the identifier.
resolve() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
 
resolve() - Method in class org.testcontainers.images.RemoteDockerImage
 
resolve() - Method in class org.testcontainers.utility.LazyFuture
 
ResourceReaper - Class in org.testcontainers.utility
Component that responsible for container removal and automatic cleanup of dead containers at JVM shutdown.
run(String...) - Method in interface org.testcontainers.images.builder.dockerfile.traits.RunStatementTrait
 
run(String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.RunStatementTrait
 
runInsideDocker(Consumer<CreateContainerCmd>, BiFunction<DockerClient, String, T>) - Method in class org.testcontainers.DockerClientFactory
 
runShellCommand(String...) - Static method in class org.testcontainers.utility.CommandLine
Run a shell command synchronously.
RunStatementTrait<SELF extends RunStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 

S

self() - Method in interface org.testcontainers.containers.Container
 
setBinds(List<Bind>) - Method in interface org.testcontainers.containers.Container
 
setCommand(String) - Method in interface org.testcontainers.containers.Container
Set the command that should be run in the container.
setCommand(String...) - Method in interface org.testcontainers.containers.Container
Set the command that should be run in the container.
setCommand(String) - Method in class org.testcontainers.containers.GenericContainer
Set the command that should be run in the container.
setCommand(String...) - Method in class org.testcontainers.containers.GenericContainer
Set the command that should be run in the container.
setCommandParts(String[]) - Method in interface org.testcontainers.containers.Container
 
setContainerId(String) - Method in interface org.testcontainers.containers.Container
Deprecated.
set by GenericContainer and should never be set outside
setContainerInfo(InspectContainerResponse) - Method in interface org.testcontainers.containers.Container
Deprecated.
set by GenericContainer and should never be set outside
setContainerName(String) - Method in interface org.testcontainers.containers.Container
Deprecated.
set by GenericContainer and should never be set outside
setDockerClient(DockerClient) - Method in interface org.testcontainers.containers.Container
Deprecated.
set by GenericContainer and should never be set outside
setDockerDaemonInfo(Info) - Method in interface org.testcontainers.containers.Container
Deprecated.
set by GenericContainer and should never be set outside
setDockerImageName(String) - Method in interface org.testcontainers.containers.Container
Resolve Docker image and set it.
setDockerImageName(String) - Method in class org.testcontainers.containers.GenericContainer
Resolve Docker image and set it.
setEnv(List<String>) - Method in interface org.testcontainers.containers.Container
 
setExposedPorts(List<Integer>) - Method in interface org.testcontainers.containers.Container
 
setExtraHosts(List<String>) - Method in interface org.testcontainers.containers.Container
 
setImage(Future<String>) - Method in interface org.testcontainers.containers.Container
 
setLinkedContainers(Map<String, LinkableContainer>) - Method in interface org.testcontainers.containers.Container
 
setPortBindings(List<String>) - Method in interface org.testcontainers.containers.Container
 
setWaitStrategy(WaitStrategy) - Method in interface org.testcontainers.containers.Container
 
SingleArgumentStatement - Class in org.testcontainers.images.builder.dockerfile.statement
 
SingleArgumentStatement(String, String) - Constructor for class org.testcontainers.images.builder.dockerfile.statement.SingleArgumentStatement
 
Slf4jLogConsumer - Class in org.testcontainers.containers.output
A consumer for container output that logs output to an SLF4J logger.
Slf4jLogConsumer(Logger) - Constructor for class org.testcontainers.containers.output.Slf4jLogConsumer
 
start() - Method in class org.testcontainers.containers.GenericContainer
Starts the container using docker, pulling an image if necessary.
startContainerCmd(String) - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
starting(Description) - Method in class org.testcontainers.containers.DockerComposeContainer
 
starting(Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
 
starting(Description) - Method in class org.testcontainers.containers.GenericContainer
 
StartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
Approach to determine whether a container has 'started up' correctly.
StartupCheckStrategy() - Constructor for class org.testcontainers.containers.startupcheck.StartupCheckStrategy
 
StartupCheckStrategy.StartupStatus - Enum in org.testcontainers.containers.startupcheck
 
startupTimeout - Variable in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
 
Statement - Class in org.testcontainers.images.builder.dockerfile.statement
 
Statement() - Constructor for class org.testcontainers.images.builder.dockerfile.statement.Statement
 
stop() - Method in class org.testcontainers.containers.GenericContainer
Stops the container.
stopAndRemoveContainer(String) - Method in class org.testcontainers.utility.ResourceReaper
Stop a potentially running container and remove it, including associated volumes.
stopAndRemoveContainer(String, String) - Method in class org.testcontainers.utility.ResourceReaper
Stop a potentially running container and remove it, including associated volumes.
stopAndRetainRecording(File) - Method in class org.testcontainers.containers.VncRecordingSidekickContainer
Stop the container and move the recording file to a suitable destination
stopContainerCmd(String) - Method in class org.testcontainers.dockerclient.AuditLoggingDockerClient
 
StringsTrait<SELF extends StringsTrait<SELF> & BuildContextBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
BuildContextBuilder's trait for String-based manipulations.
succeeded(Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
 

T

test() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
 
test() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
 
test() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
 
test() - Method in class org.testcontainers.dockerclient.ProxiedUnixSocketClientProviderStrategy
 
test() - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
 
test() - Method in class org.testcontainers.dockerclient.WindowsClientProviderStrategy
 
TestcontainersConfiguration - Class in org.testcontainers.utility
Provides a mechanism for fetching configuration/defaults from the classpath.
TestcontainersConfiguration() - Constructor for class org.testcontainers.utility.TestcontainersConfiguration
 
TestEnvironment - Class in org.testcontainers.utility
Provides utility methods for determining facts about the test environment.
toString(Charset) - Method in class org.testcontainers.containers.output.ToStringConsumer
 
toString() - Method in class org.testcontainers.dockerclient.LogToStringContainerCallback
 
ToStringConsumer - Class in org.testcontainers.containers.output
Created by rnorth on 26/03/2016.
ToStringConsumer() - Constructor for class org.testcontainers.containers.output.ToStringConsumer
 
toUtf8String() - Method in class org.testcontainers.containers.output.ToStringConsumer
 
Transferable - Interface in org.testcontainers.images.builder
 
transferTo(TarArchiveOutputStream, String) - Method in interface org.testcontainers.images.builder.Transferable
transfer content of this Transferable to the output stream.
transferTo(TarArchiveOutputStream, String) - Method in class org.testcontainers.utility.MountableFile
transfer content of this Transferable to the output stream.
tryConfiguration(String) - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
 
tryConfiguration(String) - Method in class org.testcontainers.dockerclient.WindowsClientProviderStrategy
 

U

UnixSocketClientProviderStrategy - Class in org.testcontainers.dockerclient
 
UnixSocketClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
 
user(String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.UserStatementTrait
 
UserStatementTrait<SELF extends UserStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
usingTls() - Method in class org.testcontainers.containers.wait.HttpWaitStrategy
Indicates that the status check should use HTTPS.

V

validate(String) - Static method in class org.testcontainers.utility.DockerImageName
 
valueOf(String) - Static method in enum org.testcontainers.containers.BindMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testcontainers.containers.output.OutputFrame.OutputType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.testcontainers.containers.BindMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testcontainers.containers.output.OutputFrame.OutputType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VncRecordingSidekickContainer<SELF extends VncRecordingSidekickContainer<SELF,T>,T extends VncService & LinkableContainer> - Class in org.testcontainers.containers
'Sidekick container' with the sole purpose of recording the VNC screen output from another container.
VncRecordingSidekickContainer(T) - Constructor for class org.testcontainers.containers.VncRecordingSidekickContainer
Create a sidekick container and link it to another container.
VncService - Interface in org.testcontainers.containers.traits
A container which exposes a VNC server.
volume(String...) - Method in interface org.testcontainers.images.builder.dockerfile.traits.VolumeStatementTrait
 
VolumeStatementTrait<SELF extends VolumeStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 

W

Wait - Class in org.testcontainers.containers.wait
Convenience class with logic for building common WaitStrategy instances.
Wait() - Constructor for class org.testcontainers.containers.wait.Wait
 
WaitingConsumer - Class in org.testcontainers.containers.output
A consumer for container output that buffers lines in a BlockingDeque and enables tests to wait for a matching condition.
WaitingConsumer() - Constructor for class org.testcontainers.containers.output.WaitingConsumer
 
waitingFor(WaitStrategy) - Method in interface org.testcontainers.containers.Container
Specify the WaitStrategy to use to determine if the container is ready.
waitingFor(WaitStrategy) - Method in class org.testcontainers.containers.GenericContainer
Specify the WaitStrategy to use to determine if the container is ready.
waitStrategy - Variable in class org.testcontainers.containers.GenericContainer
The approach to determine if the container is ready.
WaitStrategy - Interface in org.testcontainers.containers.wait
Approach to determine whether a container is ready.
waitUntil(Predicate<OutputFrame>) - Method in class org.testcontainers.containers.output.WaitingConsumer
Wait until any frame (usually, line) of output matches the provided predicate.
waitUntil(Predicate<OutputFrame>, int, TimeUnit) - Method in class org.testcontainers.containers.output.WaitingConsumer
Wait until any frame (usually, line) of output matches the provided predicate.
waitUntil(Predicate<OutputFrame>, long, TimeUnit, int) - Method in class org.testcontainers.containers.output.WaitingConsumer
Wait until any frame (usually, line) of output matches the provided predicate.
waitUntilContainerStarted() - Method in class org.testcontainers.containers.GenericContainer
Wait until the container has started.
waitUntilEnd() - Method in class org.testcontainers.containers.output.WaitingConsumer
Wait until Docker closes the stream of output.
waitUntilEnd(long, TimeUnit) - Method in class org.testcontainers.containers.output.WaitingConsumer
Wait until Docker closes the stream of output.
waitUntilReady(GenericContainer) - Method in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
Wait until the container has started.
waitUntilReady() - Method in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
waitUntilReady() - Method in class org.testcontainers.containers.wait.HostPortWaitStrategy
 
waitUntilReady() - Method in class org.testcontainers.containers.wait.HttpWaitStrategy
 
waitUntilReady() - Method in class org.testcontainers.containers.wait.LogMessageWaitStrategy
 
waitUntilReady(GenericContainer) - Method in interface org.testcontainers.containers.wait.WaitStrategy
Wait until the container has started.
waitUntilStartupSuccessful(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.IndefiniteWaitOneShotStartupCheckStrategy
 
waitUntilStartupSuccessful(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
 
WindowsClientProviderStrategy - Class in org.testcontainers.dockerclient
 
WindowsClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.WindowsClientProviderStrategy
 
withBasicCredentials(String, String) - Method in class org.testcontainers.containers.wait.HttpWaitStrategy
Authenticate with HTTP Basic Authorization credentials.
withClasspathResourceMapping(String, String, BindMode) - Method in interface org.testcontainers.containers.Container
Map a resource (file or directory) on the classpath to a path inside the container.
withClasspathResourceMapping(String, String, BindMode) - Method in class org.testcontainers.containers.GenericContainer
Map a resource (file or directory) on the classpath to a path inside the container.
withCommand(String) - Method in interface org.testcontainers.containers.Container
Set the command that should be run in the container
withCommand(String...) - Method in interface org.testcontainers.containers.Container
Set the command that should be run in the container
withCommand(String) - Method in class org.testcontainers.containers.GenericContainer
Set the command that should be run in the container
withCommand(String...) - Method in class org.testcontainers.containers.GenericContainer
Set the command that should be run in the container
withCreateContainerCmdModifier(Consumer<CreateContainerCmd>) - Method in class org.testcontainers.containers.GenericContainer
Allow low level modifications of CreateContainerCmd after it was pre-configured in GenericContainer.tryStart(Profiler).
withDockerfileFromBuilder(Consumer<DockerfileBuilder>) - Method in interface org.testcontainers.images.builder.traits.DockerfileTrait
 
withEnv(String, String) - Method in interface org.testcontainers.containers.Container
Add an environment variable to be passed to the container.
withEnv(Map<String, String>) - Method in interface org.testcontainers.containers.Container
Add environment variables to be passed to the container.
withEnv(String, String) - Method in class org.testcontainers.containers.DockerComposeContainer
 
withEnv(Map<String, String>) - Method in class org.testcontainers.containers.DockerComposeContainer
 
withEnv(String, String) - Method in class org.testcontainers.containers.GenericContainer
Add an environment variable to be passed to the container.
withEnv(Map<String, String>) - Method in class org.testcontainers.containers.GenericContainer
Add environment variables to be passed to the container.
withExposedPorts(Integer...) - Method in interface org.testcontainers.containers.Container
Set the ports that this container listens on
withExposedPorts(Integer...) - Method in class org.testcontainers.containers.GenericContainer
Set the ports that this container listens on
withExposedService(String, int) - Method in class org.testcontainers.containers.DockerComposeContainer
 
withExposedService(String, int, int) - Method in class org.testcontainers.containers.DockerComposeContainer
 
withExtraHost(String, String) - Method in interface org.testcontainers.containers.Container
Add an extra host entry to be passed to the container
withExtraHost(String, String) - Method in class org.testcontainers.containers.GenericContainer
Add an extra host entry to be passed to the container
withFileFromClasspath(String, String) - Method in interface org.testcontainers.images.builder.traits.ClasspathTrait
 
withFileFromFile(String, File) - Method in interface org.testcontainers.images.builder.traits.FilesTrait
 
withFileFromPath(String, Path) - Method in interface org.testcontainers.images.builder.traits.FilesTrait
 
withFileFromString(String, String) - Method in interface org.testcontainers.images.builder.traits.StringsTrait
 
withFileFromTransferable(String, Transferable) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
 
withFileFromTransferable(String, Transferable) - Method in interface org.testcontainers.images.builder.traits.BuildContextBuilderTrait
 
withFileSystemBind(String, String, BindMode) - Method in interface org.testcontainers.containers.Container
Adds a file system binding.
withFileSystemBind(String, String, BindMode) - Method in class org.testcontainers.containers.GenericContainer
Adds a file system binding.
withFixedExposedPort(int, int) - Method in class org.testcontainers.containers.FixedHostPortGenericContainer
Bind a fixed port on the docker host to a container port
withLocalCompose(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
Use a local Docker Compose binary instead of a container.
withLogConsumer(Consumer<OutputFrame>) - Method in interface org.testcontainers.containers.Container
Attach an output consumer at container startup, enabling stdout and stderr to be followed, waited on, etc.
withLogConsumer(Consumer<OutputFrame>) - Method in class org.testcontainers.containers.GenericContainer
Attach an output consumer at container startup, enabling stdout and stderr to be followed, waited on, etc.
withMinimumRunningDuration(Duration) - Method in interface org.testcontainers.containers.Container
Only consider a container to have successfully started if it has been running for this duration.
withMinimumRunningDuration(Duration) - Method in class org.testcontainers.containers.GenericContainer
Only consider a container to have successfully started if it has been running for this duration.
withNetworkMode(String) - Method in interface org.testcontainers.containers.Container
Set the network mode for this container, similar to the --net <name> option on the docker CLI.
withNetworkMode(String) - Method in class org.testcontainers.containers.GenericContainer
 
withPrefix(String) - Method in class org.testcontainers.containers.output.Slf4jLogConsumer
 
withPrivilegedMode(boolean) - Method in interface org.testcontainers.containers.Container
Set the privilegedMode mode for the container
withPrivilegedMode(boolean) - Method in class org.testcontainers.containers.GenericContainer
 
withPull(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
Whether to pull images first.
withRegEx(String) - Method in class org.testcontainers.containers.wait.LogMessageWaitStrategy
 
withScaledService(String, int) - Method in class org.testcontainers.containers.DockerComposeContainer
 
withStartupAttempts(int) - Method in class org.testcontainers.containers.GenericContainer
Allow container startup to be attempted more than once if an error occurs.
withStartupCheckStrategy(StartupCheckStrategy) - Method in interface org.testcontainers.containers.Container
Set the startup check strategy used for checking whether the container has started.
withStartupCheckStrategy(StartupCheckStrategy) - Method in class org.testcontainers.containers.GenericContainer
Set the startup check strategy used for checking whether the container has started.
withStartupTimeout(Duration) - Method in interface org.testcontainers.containers.Container
Set the duration of waiting time until container treated as started.
withStartupTimeout(Duration) - Method in class org.testcontainers.containers.GenericContainer.AbstractWaitStrategy
Set the duration of waiting time until container treated as started.
withStartupTimeout(Duration) - Method in class org.testcontainers.containers.GenericContainer
Set the duration of waiting time until container treated as started.
withStartupTimeout(Duration) - Method in interface org.testcontainers.containers.wait.WaitStrategy
 
withStatement(Statement) - Method in interface org.testcontainers.images.builder.dockerfile.traits.DockerfileBuilderTrait
 
withTailChildContainers(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
Whether to tail child container logs.
withTimes(int) - Method in class org.testcontainers.containers.wait.LogMessageWaitStrategy
 
withVolumesFrom(Container, BindMode) - Method in interface org.testcontainers.containers.Container
Adds container volumes.
withVolumesFrom(Container, BindMode) - Method in class org.testcontainers.containers.GenericContainer
Adds container volumes.
withWorkingDirectory(String) - Method in interface org.testcontainers.containers.Container
Set the working directory that the container should use on startup.
withWorkingDirectory(String) - Method in class org.testcontainers.containers.GenericContainer
Set the working directory that the container should use on startup.
workDir(String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.WorkdirStatementTrait
 
WorkdirStatementTrait<SELF extends WorkdirStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
 
A B C D E F G H I K L M O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.