- failed(Throwable, Description) - Method in class org.testcontainers.containers.ComposeContainer
-
Deprecated.
- failed(Throwable, Description) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Deprecated.
- failed(Throwable, Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
-
- failed(Throwable, Description) - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.
- 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
-
- 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.ComposeContainer
-
Deprecated.
- finished(Description) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Deprecated.
- finished(Description) - Method in class org.testcontainers.containers.FailureDetectingExternalResource
-
- finished(Description) - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.
- 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(DockerClient, String, Consumer<OutputFrame>, OutputFrame.OutputType...) - Static method in class org.testcontainers.utility.LogUtils
-
Attach a log consumer to a container's log outputs in follow mode.
- followOutput(DockerClient, String, Consumer<OutputFrame>) - Static method in class org.testcontainers.utility.LogUtils
-
Attach a log consumer to a container's log outputs in follow mode.
- 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)
- forClasspathResource(String, Integer) - 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
-
- forHealthcheck() - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return a WaitStrategy leveraging Docker's built-in healthcheck.
- 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.
- forHostPath(String, Integer) - Static method in class org.testcontainers.utility.MountableFile
-
Obtains a
MountableFile
corresponding to a file on the docker host filesystem.
- forHostPath(Path, Integer) - 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.strategy.Wait
-
Convenience method to return a WaitStrategy for an HTTP endpoint.
- forHttps(String) - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return a WaitStrategy for an HTTPS endpoint.
- forListeningPort() - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return a WaitStrategy for an exposed or mapped port.
- forListeningPorts(int...) - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return a WaitStrategy for exposed or mapped ports.
- forLogMessage(String, int) - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return a WaitStrategy for log messages.
- forPath(String) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Waits for the given path.
- forPort(int) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Wait for the given port.
- forPorts(int...) - Method in class org.testcontainers.containers.wait.strategy.HostPortWaitStrategy
-
- forResponsePredicate(Predicate<String>) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Waits for the response to pass the given predicate
- forStatusCode(int) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Waits for the given status code.
- forStatusCodeMatching(Predicate<Integer>) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Waits for the status code to pass the given predicate
- forStreamType(StreamType) - Static method in enum org.testcontainers.containers.output.OutputFrame.OutputType
-
- forSuccessfulCommand(String) - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return a WaitStrategy for a shell command.
- 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
-
- fromDockerNotation(String) - Static method in enum org.testcontainers.containers.InternetProtocol
-
- 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(String) - Constructor for class org.testcontainers.containers.FutureContainer
-
- GenericContainer<SELF extends GenericContainer<SELF>> - Class in org.testcontainers.containers
-
Base class for that allows a container to be launched and controlled.
- GenericContainer(DockerImageName) - Constructor for class org.testcontainers.containers.GenericContainer
-
- GenericContainer(RemoteDockerImage) - Constructor for class org.testcontainers.containers.GenericContainer
-
- 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
-
- 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
-
- getAmbassadorContainerImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getBinds() - Method in interface org.testcontainers.containers.Container
-
- getBinds() - Method in class org.testcontainers.containers.GenericContainer
-
- getBoundPortNumbers() - Method in interface org.testcontainers.containers.ContainerState
-
- getBuildArgs() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getBuildImageCmdModifiers() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getBytes() - Method in class org.testcontainers.containers.output.OutputFrame
-
- getBytes() - Method in interface org.testcontainers.images.builder.Transferable
-
- getClasspathProperties() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getClient() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getClientForConfig(TransportConfig) - Static method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getClientPingTimeout() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getCommand() - Method in class org.testcontainers.containers.ExecConfig
-
The command to run.
- getCommandParts() - Method in interface org.testcontainers.containers.Container
-
- getCommandParts() - Method in class org.testcontainers.containers.GenericContainer
-
- getCompletionLatch() - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
-
- getContainerByServiceName(String) - Method in class org.testcontainers.containers.ComposeContainer
-
- getContainerByServiceName(String) - Method in class org.testcontainers.containers.DockerComposeContainer
-
- getContainerId() - Method in interface org.testcontainers.containers.ContainerState
-
- getContainerId() - Method in class org.testcontainers.containers.GenericContainer
-
- getContainerInfo() - Method in interface org.testcontainers.containers.ContainerState
-
Returns the container inspect response.
- getContainerInfo() - Method in class org.testcontainers.containers.GenericContainer
-
- getContainerIpAddress() - Method in interface org.testcontainers.containers.ContainerState
-
- getContainerName() - Method in class org.testcontainers.containers.FutureContainer
-
- getContainerName() - Method in class org.testcontainers.containers.GenericContainer
-
- getContainerName() - Method in interface org.testcontainers.containers.traits.LinkableContainer
-
Deprecated.
- getCopyToFileContainerPathMap() - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.
- getCreateContainerCmdModifiers() - Method in class org.testcontainers.containers.GenericContainer
-
- getCreatedAt() - Method in class org.testcontainers.images.ImageData
-
- getCreateNetworkCmdModifiers() - Method in class org.testcontainers.containers.Network.NetworkImpl
-
- getCurrentContainerInfo() - Method in interface org.testcontainers.containers.ContainerState
-
Inspects the container and returns up-to-date inspection response.
- getCurrentState(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
-
- getDefaultGateway() - Static method in class org.testcontainers.dockerclient.DockerClientConfigUtils
-
- getDefaultMachine() - Method in class org.testcontainers.utility.DockerMachineClient
-
- getDependencies() - Method in class org.testcontainers.containers.GenericContainer
-
- getDependencies() - Method in interface org.testcontainers.lifecycle.Startable
-
- getDependencyImageNames() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getDependencyImageNames() - Method in class org.testcontainers.images.ParsedDockerfile
-
- getDependencyImages() - Method in class org.testcontainers.containers.DockerComposeFiles
-
- getDescription() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getDescription() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- getDescription() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
-
Deprecated.
- getDescription() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- getDescription() - Method in class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
- getDescription() - Method in class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- getDescription() - Method in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- getDescription() - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- getDescription() - Method in interface org.testcontainers.images.builder.Transferable
-
- getDescription() - Method in class org.testcontainers.utility.ImageNameSubstitutor
-
- getDescription() - Method in class org.testcontainers.utility.MountableFile
-
- getDockerClient() - Method in interface org.testcontainers.containers.ContainerState
-
- getDockerClient() - Method in class org.testcontainers.containers.GenericContainer
-
Unique instance of DockerClient for use by this container object.
- getDockerClient() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getDockerClientStrategyClassName() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getDockerComposeContainerImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getDockerDaemonIpAddress(String) - Method in class org.testcontainers.utility.DockerMachineClient
-
- getDockerDaemonUrl(String) - Method in class org.testcontainers.utility.DockerMachineClient
-
- getDockerfile() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getDockerFilePath() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getDockerHost() - Method in class org.testcontainers.dockerclient.TransportConfig
-
- getDockerHostIpAddress(URI) - 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.
- getDockerImageName() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getDriver() - Method in class org.testcontainers.containers.Network.NetworkImpl
-
- getEnableIpv6() - Method in class org.testcontainers.containers.Network.NetworkImpl
-
- getEnv() - Method in interface org.testcontainers.containers.Container
-
- getEnv() - Method in class org.testcontainers.containers.GenericContainer
- getEnvironment() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getEnvMap() - Method in interface org.testcontainers.containers.Container
-
- getEnvMap() - Method in class org.testcontainers.containers.GenericContainer
-
- getEnvVarOrProperty(String, String) - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Gets a configured setting from an environment variable (if present) or a configuration file property otherwise.
- getEnvVarOrUserProperty(String, String) - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Gets a configured setting from an environment variable (if present) or a configuration file property otherwise.
- getEnvVars() - Method in class org.testcontainers.containers.ExecConfig
-
Key-value pairs of environment variables.
- getExitCode() - Method in class org.testcontainers.containers.Container.ExecResult
-
- getExposedPorts() - Method in interface org.testcontainers.containers.ContainerState
-
- getExposedPorts() - Method in class org.testcontainers.containers.GenericContainer
-
- getExtraHosts() - Method in interface org.testcontainers.containers.Container
-
- getExtraHosts() - Method in class org.testcontainers.containers.GenericContainer
-
- getFileMode() - Method in interface org.testcontainers.images.builder.Transferable
-
Get file mode.
- getFileMode() - Method in class org.testcontainers.utility.MountableFile
-
- getFilenameExtension() - Method in enum org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
-
- getFilesystemFriendlyName() - Method in interface org.testcontainers.lifecycle.TestDescription
-
- getFilesystemPath() - Method in class org.testcontainers.utility.MountableFile
-
- getFirstMappedPort() - Method in interface org.testcontainers.containers.ContainerState
-
Get the actual mapped port for a first port exposed by the container.
- getFirstValidStrategy(List<DockerClientProviderStrategy>) - Static method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
Determine the right DockerClientConfig to use for building clients by trial-and-error.
- getFrameRate() - Method in class org.testcontainers.containers.VncRecordingContainer
-
- getFrames() - Method in class org.testcontainers.containers.output.WaitingConsumer
-
Get access to the underlying frame buffer.
- getHost() - Method in interface org.testcontainers.containers.ContainerState
-
Get the host that this container may be reached on (may not be the local machine).
- getId() - Method in interface org.testcontainers.containers.Network
-
- getId() - Method in class org.testcontainers.containers.Network.NetworkImpl
-
- getImage() - Method in interface org.testcontainers.containers.Container
-
- getImage() - Method in class org.testcontainers.containers.GenericContainer
-
- getImagePullPauseTimeout() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getImagePullPolicy() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getImageSubstitutorClassName() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getInfo() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getInfo() - Method in class org.testcontainers.DockerClientFactory
-
- getInitialized() - Method in class org.testcontainers.containers.Network.NetworkImpl
-
- getInstance() - Static method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getIpAddress() - Method in class org.testcontainers.containers.GenericContainer
-
- getKafkaImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getLabels() - Method in class org.testcontainers.containers.GenericContainer
-
- getLabels() - Method in class org.testcontainers.utility.ResourceReaper
-
- getLinkedContainers() - Method in interface org.testcontainers.containers.Container
-
- getLinkedContainers() - Method in class org.testcontainers.containers.GenericContainer
-
- getLivenessCheckPort() - Method in class org.testcontainers.containers.GenericContainer
-
- getLivenessCheckPortNumbers() - Method in class org.testcontainers.containers.GenericContainer
-
- getLivenessCheckPortNumbers() - Method in interface org.testcontainers.containers.wait.strategy.WaitStrategyTarget
-
- getLivenessCheckPorts() - Method in class org.testcontainers.containers.GenericContainer
-
- getLivenessCheckPorts() - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
- getLocalStackImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getLogConsumers() - Method in class org.testcontainers.containers.GenericContainer
-
- getLogger(String) - Static method in class org.testcontainers.utility.DockerLoggerFactory
-
- getLogs() - Method in interface org.testcontainers.containers.ContainerState
-
- getLogs(OutputFrame.OutputType...) - Method in interface org.testcontainers.containers.ContainerState
-
- getMappedPort(int) - Method in interface org.testcontainers.containers.ContainerState
-
Get the actual mapped port for a given port exposed by the container.
- getName() - Method in class org.testcontainers.containers.Network.NetworkImpl
-
- getNetwork() - Method in class org.testcontainers.containers.GenericContainer
-
- getNetworkAliases() - Method in class org.testcontainers.containers.GenericContainer
-
- getNetworkMode() - Method in class org.testcontainers.containers.GenericContainer
-
- getOracleImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getOutput(DockerClient, String, OutputFrame.OutputType...) - Static method in class org.testcontainers.utility.LogUtils
-
Retrieve all previous log outputs for a container of the specified type(s).
- getPortBindings() - Method in interface org.testcontainers.containers.Container
-
- getPortBindings() - Method in interface org.testcontainers.containers.ContainerState
-
- getPortBindings() - Method in class org.testcontainers.containers.GenericContainer
-
- getPriority() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getPriority() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- getPriority() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
-
Deprecated.
- getPriority() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- getPriority() - Method in class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
- getPriority() - Method in class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- getPriority() - Method in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- getPriority() - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- getProperties() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getPulsarImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getRateLimiter() - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
- getRegistry() - Method in class org.testcontainers.utility.DockerImageName
-
- getRemoteDockerUnixSocketPath() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
/* @return the path under which the Docker unix socket is reachable relative to the Docker daemon
- getRemoteDockerUnixSocketPath() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- getRemoteDockerUnixSocketPath() - Method in class org.testcontainers.DockerClientFactory
-
- getRepository() - Method in class org.testcontainers.utility.DockerImageName
-
- getResolvedPath() - Method in class org.testcontainers.utility.MountableFile
-
- getRyukImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getRyukTimeout() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getServiceHost(String, Integer) - Method in class org.testcontainers.containers.ComposeContainer
-
Get the host (e.g.
- getServiceHost(String, Integer) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Get the host (e.g.
- getServicePort(String, Integer) - Method in class org.testcontainers.containers.ComposeContainer
-
Get the port that an exposed service can be found at, from the host machine
(i.e.
- 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.
- getShmSize() - Method in class org.testcontainers.containers.GenericContainer
-
The shared memory size to use when starting the container.
- getSize() - Method in interface org.testcontainers.images.builder.Transferable
-
Size of an object.
- getSize() - Method in class org.testcontainers.utility.MountableFile
-
- getSocatContainerImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getSocketPath() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- getSocketPath() - Method in class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- getSSHdImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getSslConfig() - Method in class org.testcontainers.dockerclient.TransportConfig
-
- getStartupAttempts() - Method in class org.testcontainers.containers.GenericContainer
-
- getStartupCheckStrategy() - Method in class org.testcontainers.containers.GenericContainer
-
- getStatements() - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
-
- 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
-
- getTarget() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getTargetNetworkAlias() - Method in class org.testcontainers.containers.VncRecordingContainer
-
- getTestHostIpAddress() - Method in interface org.testcontainers.containers.Container
-
- getTestHostIpAddress() - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.
- getTestId() - Method in interface org.testcontainers.lifecycle.TestDescription
-
- getTinyImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getTmpFsMapping() - Method in class org.testcontainers.containers.GenericContainer
-
- getTransferables() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- getTransportConfig() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
- getTransportConfig() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- getTransportConfig() - Method in class org.testcontainers.DockerClientFactory
-
- getTransportType() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getType() - Method in class org.testcontainers.containers.output.OutputFrame
-
- getType() - Method in class org.testcontainers.images.builder.dockerfile.statement.Statement
-
- getUnixFileMode(Path) - Static method in class org.testcontainers.utility.MountableFile
-
- getUnversionedPart() - Method in class org.testcontainers.utility.DockerImageName
-
- getUser() - Method in class org.testcontainers.containers.ExecConfig
-
The user to run the exec process.
- getUserProperties() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
- getUserProperty(String, String) - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Gets a configured setting from ~/.testcontainers.properties
.
- getUtf8String() - Method in class org.testcontainers.containers.output.OutputFrame
-
- getUtf8StringWithoutLineEnding() - Method in class org.testcontainers.containers.output.OutputFrame
-
- getVersionPart() - Method in class org.testcontainers.utility.DockerImageName
-
- getVideoFormat() - Method in class org.testcontainers.containers.VncRecordingContainer
-
- getVncPassword() - Method in class org.testcontainers.containers.VncRecordingContainer
-
- getVncPort() - Method in class org.testcontainers.containers.VncRecordingContainer
-
- getVncRecordedContainerImage() - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- getVolumesFroms() - Method in class org.testcontainers.containers.GenericContainer
-
- getWaitStrategy() - Method in class org.testcontainers.containers.GenericContainer
-
The
WaitStrategy
to use to determine if the container is ready.
- getWorkDir() - Method in class org.testcontainers.containers.ExecConfig
-
The working directory for the exec process.
- getWorkingDirectory() - Method in class org.testcontainers.containers.GenericContainer
-
- 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.ComposeContainer.RemoveImages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testcontainers.containers.DockerComposeContainer.RemoveImages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testcontainers.containers.InternetProtocol
-
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.PortForwardingContainer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testcontainers.containers.SelinuxContext
-
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.
- valueOf(String) - Static method in enum org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
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.ComposeContainer.RemoveImages
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.testcontainers.containers.DockerComposeContainer.RemoveImages
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.testcontainers.containers.InternetProtocol
-
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.PortForwardingContainer
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.testcontainers.containers.SelinuxContext
-
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.
- values() - Static method in enum org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VncRecordingContainer - Class in org.testcontainers.containers
-
'Sidekick container' with the sole purpose of recording the VNC screen output from another container.
- VncRecordingContainer(GenericContainer<?>) - Constructor for class org.testcontainers.containers.VncRecordingContainer
-
- VncRecordingContainer(Network, String) - Constructor for class org.testcontainers.containers.VncRecordingContainer
-
Create a sidekick container and attach it to another container.
- VncRecordingContainer.VncRecordingFormat - Enum in org.testcontainers.containers
-
- 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
-
- Wait - Class in org.testcontainers.containers.wait.strategy
-
Convenience class with logic for building common
WaitStrategy
instances.
- Wait() - Constructor for class org.testcontainers.containers.wait.strategy.Wait
-
- WaitAllStrategy - Class in org.testcontainers.containers.wait.strategy
-
- WaitAllStrategy() - Constructor for class org.testcontainers.containers.wait.strategy.WaitAllStrategy
-
- WaitAllStrategy(WaitAllStrategy.Mode) - Constructor for class org.testcontainers.containers.wait.strategy.WaitAllStrategy
-
- WaitAllStrategy.Mode - Enum in org.testcontainers.containers.wait.strategy
-
- 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(String, WaitStrategy) - Method in class org.testcontainers.containers.ComposeContainer
-
Specify the
WaitStrategy
to use to determine if the container is ready.
- waitingFor(WaitStrategy) - Method in interface org.testcontainers.containers.Container
-
Specify the
WaitStrategy
to use to determine if the container is ready.
- waitingFor(String, WaitStrategy) - Method in class org.testcontainers.containers.DockerComposeContainer
-
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.strategy
-
- waitStrategyTarget - Variable in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
- WaitStrategyTarget - Interface in org.testcontainers.containers.wait.strategy
-
- 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(WaitStrategyTarget) - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
Wait until the target has started.
- waitUntilReady() - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
- waitUntilReady() - Method in class org.testcontainers.containers.wait.strategy.DockerHealthcheckWaitStrategy
-
- waitUntilReady() - Method in class org.testcontainers.containers.wait.strategy.HostPortWaitStrategy
-
- waitUntilReady() - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
- waitUntilReady() - Method in class org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy
-
- waitUntilReady() - Method in class org.testcontainers.containers.wait.strategy.ShellStrategy
-
- waitUntilReady(WaitStrategyTarget) - Method in class org.testcontainers.containers.wait.strategy.WaitAllStrategy
-
- waitUntilReady(WaitStrategyTarget) - Method in interface org.testcontainers.containers.wait.strategy.WaitStrategy
-
- waitUntilStartupSuccessful(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.IndefiniteWaitOneShotStartupCheckStrategy
-
- waitUntilStartupSuccessful(GenericContainer<?>) - Method in class org.testcontainers.containers.startupcheck.IsRunningStartupCheckStrategy
-
- waitUntilStartupSuccessful(GenericContainer<?>) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
-
- waitUntilStartupSuccessful(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
-
- withAccessToHost(boolean) - Method in class org.testcontainers.containers.GenericContainer
-
Forces access to the tests host machine.
- withBasicCredentials(String, String) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Authenticate with HTTP Basic Authorization credentials.
- withBuild(boolean) - Method in class org.testcontainers.containers.ComposeContainer
-
Whether to always build images before starting containers.
- withBuild(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Whether to always build images before starting containers.
- withBuildArg(String, String) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- withBuildArgs(Map<String, String>) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- withBuildImageCmdModifier(Consumer<BuildImageCmd>) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
Allow low level modifications of BuildImageCmd
.
- withClasspathResourceMapping(String, String, BindMode) - Method in interface org.testcontainers.containers.Container
-
- withClasspathResourceMapping(String, String, BindMode, SelinuxContext) - Method in interface org.testcontainers.containers.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.
- withClasspathResourceMapping(String, String, BindMode, SelinuxContext) - 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
- withCommand(String) - Method in class org.testcontainers.containers.wait.strategy.ShellStrategy
-
- withCopyFileToContainer(MountableFile, String) - Method in interface org.testcontainers.containers.Container
-
- withCopyFileToContainer(MountableFile, String) - Method in class org.testcontainers.containers.GenericContainer
-
Set the file to be copied before starting a created container
- withCopyToContainer(Transferable, String) - Method in interface org.testcontainers.containers.Container
-
Set the content to be copied before starting a created container
- withCopyToContainer(Transferable, String) - Method in class org.testcontainers.containers.GenericContainer
-
Set the content to be copied before starting a created container
- withCreateContainerCmdModifier(Consumer<CreateContainerCmd>) - Method in class org.testcontainers.containers.GenericContainer
-
- withDockerfile(Path) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
Sets the Dockerfile to be used for this image.
- withDockerfileFromBuilder(Consumer<DockerfileBuilder>) - Method in interface org.testcontainers.images.builder.traits.DockerfileTrait
-
- withDockerfilePath(String) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
- withEnv(String, String) - Method in class org.testcontainers.containers.ComposeContainer
-
- withEnv(Map<String, String>) - Method in class org.testcontainers.containers.ComposeContainer
-
- withEnv(String, String) - Method in interface org.testcontainers.containers.Container
-
Add an environment variable to be passed to the container.
- withEnv(String, Function<Optional<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.ComposeContainer
-
- withExposedService(String, int, int) - Method in class org.testcontainers.containers.ComposeContainer
-
- withExposedService(String, int, int, WaitStrategy) - Method in class org.testcontainers.containers.ComposeContainer
-
- withExposedService(String, int, WaitStrategy) - Method in class org.testcontainers.containers.ComposeContainer
-
- withExposedService(String, int) - Method in class org.testcontainers.containers.DockerComposeContainer
-
- withExposedService(String, int, int) - Method in class org.testcontainers.containers.DockerComposeContainer
-
- withExposedService(String, int, int, WaitStrategy) - Method in class org.testcontainers.containers.DockerComposeContainer
-
- withExposedService(String, int, WaitStrategy) - 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
-
Adds file to tarball copied into container.
- withFileFromFile(String, File, Integer) - Method in interface org.testcontainers.images.builder.traits.FilesTrait
-
Adds file with given mode to tarball copied into container.
- withFileFromPath(String, Path) - Method in interface org.testcontainers.images.builder.traits.FilesTrait
-
Adds file to tarball copied into container.
- withFileFromPath(String, Path, Integer) - Method in interface org.testcontainers.images.builder.traits.FilesTrait
-
Adds file with given mode to tarball copied into container.
- 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) - Method in interface org.testcontainers.containers.Container
-
- withFileSystemBind(String, String, BindMode) - Method in interface org.testcontainers.containers.Container
-
- 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 TCP port on the docker host to a container port
- withFixedExposedPort(int, int, InternetProtocol) - Method in class org.testcontainers.containers.FixedHostPortGenericContainer
-
Bind a fixed port on the docker host to a container port
- withFrameRate(int) - Method in class org.testcontainers.containers.VncRecordingContainer
-
- withHeader(String, String) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Add a custom HTTP Header to the call.
- withHeaders(Map<String, String>) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Add multiple custom HTTP Headers to the call.
- withImageNameSubstitutor(ImageNameSubstitutor) - Method in class org.testcontainers.images.RemoteDockerImage
-
- withImagePullPolicy(ImagePullPolicy) - Method in interface org.testcontainers.containers.Container
-
Set the image pull policy of the container
- withImagePullPolicy(ImagePullPolicy) - Method in class org.testcontainers.containers.GenericContainer
-
- withImagePullPolicy(ImagePullPolicy) - Method in class org.testcontainers.images.RemoteDockerImage
-
- withLabel(String, String) - Method in interface org.testcontainers.containers.Container
-
Add a label to the container.
- withLabel(String, String) - Method in class org.testcontainers.containers.GenericContainer
-
Add a label to the container.
- withLabels(Map<String, String>) - Method in interface org.testcontainers.containers.Container
-
Add labels to the container.
- withLabels(Map<String, String>) - Method in class org.testcontainers.containers.GenericContainer
-
Add labels to the container.
- withLocalCompose(boolean) - Method in class org.testcontainers.containers.ComposeContainer
-
Use a local Docker Compose binary instead of a container.
- withLocalCompose(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Use a local Docker Compose binary instead of a container.
- withLogConsumer(String, Consumer<OutputFrame>) - Method in class org.testcontainers.containers.ComposeContainer
-
Attach an output consumer at container startup, enabling stdout and stderr to be followed, waited on, etc.
- 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(String, Consumer<OutputFrame>) - Method in class org.testcontainers.containers.DockerComposeContainer
-
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.
- withMdc(String, String) - Method in class org.testcontainers.containers.output.Slf4jLogConsumer
-
- withMdc(Map<String, String>) - Method in class org.testcontainers.containers.output.Slf4jLogConsumer
-
- withMethod(String) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Indicates the HTTP method to use (GET
by default).
- 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.
- withNetwork(Network) - Method in interface org.testcontainers.containers.Container
-
Set the network for this container, similar to the --network <name>
option on the docker CLI.
- withNetwork(Network) - Method in class org.testcontainers.containers.GenericContainer
-
- withNetworkAliases(String...) - Method in interface org.testcontainers.containers.Container
-
Set the network aliases for this container, similar to the --network-alias <my-service>
option on the docker CLI.
- withNetworkAliases(String...) - Method in class org.testcontainers.containers.GenericContainer
-
- 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
-
- withOptions(String...) - Method in class org.testcontainers.containers.ComposeContainer
-
Adds options to the docker command, e.g.
- withOptions(String...) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Adds options to the docker-compose command, e.g.
- 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.ComposeContainer
-
Whether to pull images first.
- withPull(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Whether to pull images first.
- withRateLimiter(RateLimiter) - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
Set the rate limiter being used
- withReadTimeout(Duration) - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Set the HTTP connections read timeout.
- withRegEx(String) - Method in class org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy
-
- withRegistry(String) - Method in class org.testcontainers.utility.DockerImageName
-
- withRemoveAnsiCodes(boolean) - Method in class org.testcontainers.containers.output.BaseConsumer
-
- withRemoveImages(ComposeContainer.RemoveImages) - Method in class org.testcontainers.containers.ComposeContainer
-
Remove images after containers shutdown.
- withRemoveImages(DockerComposeContainer.RemoveImages) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Remove images after containers shutdown.
- withRemoveVolumes(boolean) - Method in class org.testcontainers.containers.ComposeContainer
-
Remove volumes after containers shut down.
- withRemoveVolumes(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Remove volumes after containers shut down.
- withRepository(String) - Method in class org.testcontainers.utility.DockerImageName
-
- withReuse(boolean) - Method in class org.testcontainers.containers.GenericContainer
-
- withScaledService(String, int) - Method in class org.testcontainers.containers.ComposeContainer
-
- withScaledService(String, int) - Method in class org.testcontainers.containers.DockerComposeContainer
-
- withSeparateOutputStreams() - Method in class org.testcontainers.containers.output.Slf4jLogConsumer
-
- withServices(String...) - Method in class org.testcontainers.containers.ComposeContainer
-
- withServices(String...) - Method in class org.testcontainers.containers.DockerComposeContainer
-
- withSharedMemorySize(Long) - Method in class org.testcontainers.containers.GenericContainer
-
Size of /dev/shm
- 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 class org.testcontainers.containers.ComposeContainer
-
Set the maximum startup timeout all the waits set are bounded to.
- 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.DockerComposeContainer
-
Set the maximum startup timeout all the waits set are bounded to.
- withStartupTimeout(Duration) - Method in class org.testcontainers.containers.GenericContainer
-
Set the duration of waiting time until container treated as started.
- withStartupTimeout(Duration) - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
Set the duration of waiting time until container treated as started.
- withStartupTimeout(Duration) - Method in class org.testcontainers.containers.wait.strategy.WaitAllStrategy
-
- withStartupTimeout(Duration) - Method in interface org.testcontainers.containers.wait.strategy.WaitStrategy
-
- withStatement(Statement) - Method in interface org.testcontainers.images.builder.dockerfile.traits.DockerfileBuilderTrait
-
- withStrategy(WaitStrategy) - Method in class org.testcontainers.containers.wait.strategy.WaitAllStrategy
-
- withTag(String) - Method in class org.testcontainers.utility.DockerImageName
-
- withTailChildContainers(boolean) - Method in class org.testcontainers.containers.ComposeContainer
-
Whether to tail child container logs.
- withTailChildContainers(boolean) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Whether to tail child container logs.
- withTarget(int, String) - Method in class org.testcontainers.containers.SocatContainer
-
- withTarget(int, String, int) - Method in class org.testcontainers.containers.SocatContainer
-
- withTarget(String) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
-
Sets the target build stage to use.
- withTimeout(Duration) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
-
- withTimes(int) - Method in class org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy
-
- withTmpFs(Map<String, String>) - Method in class org.testcontainers.containers.GenericContainer
-
First class support for configuring tmpfs
- withVideoFormat(VncRecordingContainer.VncRecordingFormat) - Method in class org.testcontainers.containers.VncRecordingContainer
-
- withVncPassword(String) - Method in class org.testcontainers.containers.VncRecordingContainer
-
- withVncPort(int) - Method in class org.testcontainers.containers.VncRecordingContainer
-
- 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 class org.testcontainers.containers.ExecConfig.ExecConfigBuilder
-
The working directory for the exec process.
- 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
-