Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractImagePullPolicy - Class in org.testcontainers.images
- AbstractImagePullPolicy() - Constructor for class org.testcontainers.images.AbstractImagePullPolicy
- AbstractWaitStrategy - Class in org.testcontainers.containers.wait.strategy
- AbstractWaitStrategy() - Constructor for class org.testcontainers.containers.wait.strategy.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 class 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
-
Deprecated.
- addFileSystemBind(String, String, BindMode, SelinuxContext) - Method in interface org.testcontainers.containers.Container
-
Deprecated.
- addFileSystemBind(String, String, BindMode, SelinuxContext) - Method in class org.testcontainers.containers.GenericContainer
-
Adds a file system binding.
- addFixedExposedPort(int, int) - Method in class org.testcontainers.containers.GenericContainer
-
Add a TCP container port that should be bound to a fixed port on the docker host.
- addFixedExposedPort(int, int, InternetProtocol) - 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
- 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
- afterTest(TestDescription, Optional<Throwable>) - Method in interface org.testcontainers.lifecycle.TestLifecycleAware
- ageBased(Duration) - Static method in class org.testcontainers.images.PullPolicy
-
Convenience method for returning an
AgeBasedPullPolicyAge based image pull policy, - ALL - Enum constant in enum class org.testcontainers.containers.ComposeContainer.RemoveImages
-
Remove all images used by any service.
- ALL - Enum constant in enum class org.testcontainers.containers.DockerComposeContainer.RemoveImages
-
Remove all images used by any service.
- allowInsecure() - Method in class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
-
Indicates that HTTPS connection could use untrusted (self signed) certificate chains.
- allowUserOverrides() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
- allowUserOverrides() - Method in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- alwaysPull() - Static method in class org.testcontainers.images.PullPolicy
-
Convenience method for returning the
AlwaysPullPolicyalwaysPull image pull policy - 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(DockerImageName) - Method in class org.testcontainers.utility.ImageNameSubstitutor
-
Substitute a
DockerImageNamefor another, for example to replace a generic Docker Hub image name with a private registry copy of the image. - apply(T) - Method in interface org.testcontainers.utility.ThrowingFunction
- args - Variable in class org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement
- argument - Variable in class org.testcontainers.images.builder.dockerfile.statement.SingleArgumentStatement
- asCanonicalNameString() - Method in class org.testcontainers.utility.DockerImageName
- asCompatibleSubstituteFor(String) - Method in class org.testcontainers.utility.DockerImageName
-
Declare that this
DockerImageNameis a compatible substitute for another image - i.e. - asCompatibleSubstituteFor(DockerImageName) - Method in class org.testcontainers.utility.DockerImageName
-
Declare that this
DockerImageNameis a compatible substitute for another image - i.e. - assertCompatibleWith(DockerImageName...) - Method in class org.testcontainers.utility.DockerImageName
-
Behaves as
DockerImageName.isCompatibleWith(DockerImageName)but throws an exception rather than returning false if a mismatch is detected. - assertLicenseAccepted(String) - Static method in class org.testcontainers.utility.LicenseAcceptance
- assertValid() - Method in class org.testcontainers.utility.DockerImageName
-
Is the image name valid?
- AuditLogger - Class in org.testcontainers.utility
-
Logger for tracking potentially destructive actions, intended for usage in a shared Docker environment where traceability is needed.
- AuthConfigUtil - Class in org.testcontainers.utility
-
TODO: Javadocs
- awaitCompletion() - Method in class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
- awaitCompletion(long, TimeUnit) - Method in class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
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
- BaseConsumer<SELF extends BaseConsumer<SELF>> - Class in org.testcontainers.containers.output
- BaseConsumer() - Constructor for class org.testcontainers.containers.output.BaseConsumer
- beforeTest(TestDescription) - Method in interface org.testcontainers.lifecycle.TestLifecycleAware
- BindMode - Enum Class in org.testcontainers.containers
-
Possible modes for binding storage volumes.
- build() - Method in class org.testcontainers.containers.ExecConfig.ExecConfigBuilder
- build() - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- build() - Method in class org.testcontainers.dockerclient.TransportConfig.TransportConfigBuilder
- build() - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
- build() - Method in class org.testcontainers.images.ImageData.ImageDataBuilder
- BuildContextBuilderTrait<SELF extends BuildContextBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
-
base BuildContextBuilder's trait
- builder() - Static method in class org.testcontainers.containers.ExecConfig
- builder() - Static method in interface org.testcontainers.containers.Network
- builder() - Static method in class org.testcontainers.containers.Network.NetworkImpl
- builder() - Static method in class org.testcontainers.dockerclient.TransportConfig
- builder() - Static method in class org.testcontainers.images.ImageData
C
- call() - Method in class org.testcontainers.containers.wait.internal.ExternalPortListeningCheck
- call() - Method in class org.testcontainers.containers.wait.internal.InternalCommandPortListeningCheck
- canBeReused() - Method in class org.testcontainers.containers.GenericContainer
- cancel(boolean) - Method in class org.testcontainers.utility.LazyFuture
- canEqual(Object) - Method in class org.testcontainers.containers.FutureContainer
- canEqual(Object) - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
- canEqual(Object) - Method in class org.testcontainers.images.builder.dockerfile.statement.Statement
- canEqual(Object) - Method in class org.testcontainers.utility.TestcontainersConfiguration
- checkAndPullImage(DockerClient, String) - Method in class org.testcontainers.DockerClientFactory
-
Deprecated.
- 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.
- clearCreateNetworkCmdModifiers() - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- client() - Method in class org.testcontainers.DockerClientFactory
- close() - Method in interface org.testcontainers.containers.Network
- close() - Method in class org.testcontainers.containers.Network.NetworkImpl
- close() - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
- close() - Method in interface org.testcontainers.lifecycle.Startable
- 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
- command(String[]) - Method in class org.testcontainers.containers.ExecConfig.ExecConfigBuilder
-
The command to run.
- 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
- COMPOSE_EXECUTABLE - Static variable in class org.testcontainers.containers.ComposeContainer
- COMPOSE_EXECUTABLE - Static variable in class org.testcontainers.containers.DockerComposeContainer
- ComposeContainer - Class in org.testcontainers.containers
-
Testcontainers implementation for Docker Compose V2.
- ComposeContainer(File...) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Use the new constructor
ComposeContainer(DockerImageName image, File...composeFiles) - ComposeContainer(String, File...) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Use the new constructor
ComposeContainer(DockerImageName image, String identifier, File...composeFile) - ComposeContainer(String, List<File>) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Use the new constructor
ComposeContainer(DockerImageName image, String identifier, List composeFiles) - ComposeContainer(List<File>) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Use the new constructor
ComposeContainer(DockerImageName image, List composeFiles) - ComposeContainer(DockerImageName, File...) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Creates a new ComposeContainer using the specified Docker image and compose files.
- ComposeContainer(DockerImageName, String, File) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Creates a new ComposeContainer with the specified Docker image, identifier, and a single compose file.
- ComposeContainer(DockerImageName, String, File...) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Creates a new ComposeContainer with the specified Docker image, identifier, and compose files.
- ComposeContainer(DockerImageName, String, List<File>) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Creates a new ComposeContainer with the specified Docker image, identifier, and compose files.
- ComposeContainer(DockerImageName, List<File>) - Constructor for class org.testcontainers.containers.ComposeContainer
-
Creates a new ComposeContainer using the specified Docker image and compose files.
- ComposeContainer.RemoveImages - Enum Class in org.testcontainers.containers
- configure() - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- configure() - Method in class org.testcontainers.containers.GenericContainer
- configure() - Method in class org.testcontainers.containers.SocatContainer
- configure() - Method in class org.testcontainers.containers.VncRecordingContainer
- configure(BuildImageCmd) - Method in class org.testcontainers.images.builder.ImageFromDockerfile
- Container<SELF extends Container<SELF>> - Interface in org.testcontainers.containers
- CONTAINER_RUNNING_TIMEOUT_SEC - Static variable in class org.testcontainers.containers.GenericContainer
- Container.ExecResult - Class in org.testcontainers.containers
-
Class to hold results from a "docker exec" command
- ContainerFetchException - Exception in org.testcontainers.containers
-
Created by rnorth on 15/10/2015.
- ContainerFetchException(String) - Constructor for exception org.testcontainers.containers.ContainerFetchException
- ContainerFetchException(String, Exception) - Constructor for exception org.testcontainers.containers.ContainerFetchException
- containerIsCreated(String) - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- containerIsCreated(String) - Method in class org.testcontainers.containers.GenericContainer
- containerIsStarted(InspectContainerResponse) - Method in class org.testcontainers.containers.DockerModelRunnerContainer
- containerIsStarted(InspectContainerResponse) - Method in class org.testcontainers.containers.GenericContainer
- containerIsStarted(InspectContainerResponse, boolean) - Method in class org.testcontainers.containers.GenericContainer
- containerIsStarting(InspectContainerResponse) - Method in class org.testcontainers.containers.GenericContainer
- containerIsStarting(InspectContainerResponse, boolean) - Method in class org.testcontainers.containers.GenericContainer
- containerIsStopped(InspectContainerResponse) - Method in class org.testcontainers.containers.GenericContainer
-
A hook that is executed after the container is stopped with
GenericContainer.stop(). - containerIsStopping(InspectContainerResponse) - Method in class org.testcontainers.containers.GenericContainer
-
A hook that is executed before the container is stopped with
GenericContainer.stop(). - 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, Throwable) - Constructor for exception org.testcontainers.containers.ContainerLaunchException
- ContainerState - Interface in org.testcontainers.containers
- copy(String, String) - Method in interface org.testcontainers.images.builder.dockerfile.traits.CopyStatementTrait
- copyFileFromContainer(String, String) - Method in interface org.testcontainers.containers.ContainerState
-
Copies a file which resides inside the container to user defined directory
- copyFileFromContainer(String, String) - Method in class org.testcontainers.containers.GenericContainer
-
Copies a file which resides inside the container to user defined directory
- copyFileFromContainer(String, ThrowingFunction<InputStream, T>) - Method in interface org.testcontainers.containers.ContainerState
-
Streams a file which resides inside the container
- copyFileToContainer(Transferable, String) - Method in interface org.testcontainers.containers.ContainerState
-
Copies a file to the container.
- copyFileToContainer(MountableFile, String) - Method in interface org.testcontainers.containers.ContainerState
-
Copies a file or directory to the container.
- CopyStatementTrait<SELF extends CopyStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
- CreateContainerCmdModifier - Interface in org.testcontainers.core
-
Callback interface that can be used to customize a
CreateContainerCmd. - createdAt(Instant) - Method in class org.testcontainers.images.ImageData.ImageDataBuilder
- createMinGWPath(String) - Static method in class org.testcontainers.utility.PathUtils
-
Create a MinGW compatible path based on usual Windows path
- createNetworkCmdModifier(Consumer<CreateNetworkCmd>) - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- createNetworkCmdModifiers(Collection<? extends Consumer<CreateNetworkCmd>>) - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- createVolumeDirectory(boolean) - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.
D
- deepStart(Iterable<? extends Startable>) - Static method in class org.testcontainers.lifecycle.Startables
- deepStart(Collection<? extends Startable>) - Static method in class org.testcontainers.lifecycle.Startables
- deepStart(Stream<? extends Startable>) - Static method in class org.testcontainers.lifecycle.Startables
-
Start every
Startablerecursively and asynchronously and join on the result. - deepStart(Startable...) - Static method in class org.testcontainers.lifecycle.Startables
- DEFAULT_DIR_MODE - Static variable in interface org.testcontainers.images.builder.Transferable
- DEFAULT_FILE_MODE - Static variable in interface org.testcontainers.images.builder.Transferable
- DEFAULT_LABELS - Static variable in class org.testcontainers.DockerClientFactory
- DEFAULT_VNC_PASSWORD - Static variable in class org.testcontainers.containers.VncRecordingContainer
- DEFAULT_VNC_PORT - Static variable in class org.testcontainers.containers.VncRecordingContainer
- defaultPolicy() - Static method in class org.testcontainers.images.PullPolicy
-
Convenience method for returning the
DefaultPullPolicydefault image pull policy - defaultWaitStrategy() - Static method in class org.testcontainers.containers.wait.strategy.Wait
-
Convenience method to return the default WaitStrategy.
- dependencies - Variable in class org.testcontainers.containers.GenericContainer
- dependsOn(Iterable<? extends Startable>) - Method in class org.testcontainers.containers.GenericContainer
-
Delays this container's creation and start until provided
Startables start first. - dependsOn(List<? extends Startable>) - Method in class org.testcontainers.containers.GenericContainer
- dependsOn(Startable...) - Method in class org.testcontainers.containers.GenericContainer
- DOCKER_SOCK_PATH - Static variable in class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
- DOCKER_SOCK_PATH - Static variable in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- dockerApiAtLeast(String) - Static method in class org.testcontainers.utility.TestEnvironment
- dockerClient - Variable in class org.testcontainers.containers.GenericContainer
-
Unique instance of DockerClient for use by this container object.
- 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...) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Use the new constructor
DockerComposeContainer(DockerImageName image, List composeFiles) - DockerComposeContainer(File, String) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Use the new constructor
DockerComposeContainer(DockerImageName image, String identifier, File composeFile) - DockerComposeContainer(String, File...) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Use the new constructor
DockerComposeContainer(DockerImageName image, String identifier, File...composeFiles) - DockerComposeContainer(String, List<File>) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Use the new constructor
DockerComposeContainer(DockerImageName image, String identifier, List composeFiles) - DockerComposeContainer(List<File>) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Deprecated.
- DockerComposeContainer(DockerImageName, File...) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Creates a new DockerComposeContainer using the specified Docker image and compose files.
- DockerComposeContainer(DockerImageName, String, File) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Creates a new DockerComposeContainer with the specified Docker image, identifier, and a single compose file.
- DockerComposeContainer(DockerImageName, String, File...) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Creates a new DockerComposeContainer with the specified Docker image, identifier, and compose files.
- DockerComposeContainer(DockerImageName, String, List<File>) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Creates a new DockerComposeContainer with the specified Docker image, identifier, and compose files.
- DockerComposeContainer(DockerImageName, List<File>) - Constructor for class org.testcontainers.containers.DockerComposeContainer
-
Creates a new DockerComposeContainer using the specified Docker image and compose files.
- DockerComposeContainer.RemoveImages - Enum Class in org.testcontainers.containers
- DockerComposeFiles - Class in org.testcontainers.containers
- DockerComposeFiles(List<File>) - Constructor for class org.testcontainers.containers.DockerComposeFiles
- DockerDesktopClientProviderStrategy - Class in org.testcontainers.dockerclient
-
Deprecated.this class is used by the SPI and should not be used directly
- DockerDesktopClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- 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.
- DockerHealthcheckWaitStrategy - Class in org.testcontainers.containers.wait.strategy
-
Wait strategy leveraging Docker's built-in healthcheck mechanism.
- DockerHealthcheckWaitStrategy() - Constructor for class org.testcontainers.containers.wait.strategy.DockerHealthcheckWaitStrategy
- dockerHost(URI) - Method in class org.testcontainers.dockerclient.TransportConfig.TransportConfigBuilder
- dockerHostIpAddress() - Method in class org.testcontainers.DockerClientFactory
- DockerImageName - Class in org.testcontainers.utility
- DockerImageName(String) - Constructor for class org.testcontainers.utility.DockerImageName
-
Deprecated.use
DockerImageName.parse(String)instead - DockerImageName(String, String) - Constructor for class org.testcontainers.utility.DockerImageName
-
Deprecated.
- dockerIsDockerMachine() - Static method in class org.testcontainers.utility.TestEnvironment
- DockerLoggerFactory - Class in org.testcontainers.utility
- DockerMachineClient - Class in org.testcontainers.utility
-
Created by rnorth on 27/10/2015.
- DockerMachineClientProviderStrategy - Class in org.testcontainers.dockerclient
-
Deprecated.this class is used by the SPI and should not be used directly
- DockerMachineClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
-
Deprecated.
- DockerMcpGatewayContainer - Class in org.testcontainers.containers
-
Testcontainers implementation of the Docker MCP Gateway container.
- DockerMcpGatewayContainer(String) - Constructor for class org.testcontainers.containers.DockerMcpGatewayContainer
- DockerMcpGatewayContainer(DockerImageName) - Constructor for class org.testcontainers.containers.DockerMcpGatewayContainer
- DockerModelRunnerContainer - Class in org.testcontainers.containers
-
Testcontainers proxy container for the Docker Model Runner service provided by Docker Desktop.
- DockerModelRunnerContainer(String) - Constructor for class org.testcontainers.containers.DockerModelRunnerContainer
- DockerModelRunnerContainer(DockerImageName) - Constructor for class org.testcontainers.containers.DockerModelRunnerContainer
- dockerRemoveImagesType() - Method in enum class org.testcontainers.containers.ComposeContainer.RemoveImages
- dockerRemoveImagesType() - Method in enum class org.testcontainers.containers.DockerComposeContainer.RemoveImages
- 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
- doStart() - Method in class org.testcontainers.containers.GenericContainer
- driver(String) - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- DynamicPollInterval - Class in org.testcontainers.utility
-
Deprecated.For internal usage only.
E
- enableIpv6(Boolean) - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- END - Enum constant in enum class org.testcontainers.containers.output.OutputFrame.OutputType
- 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
-
Deprecated.this class is used by the SPI and should not be used directly
- EnvironmentAndSystemPropertyClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- environmentSupportsReuse() - Method in class org.testcontainers.utility.TestcontainersConfiguration
- EnvStatementTrait<SELF extends EnvStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
- envVars(Map<String, String>) - Method in class org.testcontainers.containers.ExecConfig.ExecConfigBuilder
-
Key-value pairs of environment variables.
- equals(Object) - Method in class org.testcontainers.containers.Container.ExecResult
- equals(Object) - Method in class org.testcontainers.containers.FutureContainer
- equals(Object) - Method in class org.testcontainers.containers.GenericContainer
- equals(Object) - Method in class org.testcontainers.dockerclient.TransportConfig
- equals(Object) - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
- equals(Object) - Method in class org.testcontainers.images.builder.dockerfile.statement.Statement
- equals(Object) - Method in class org.testcontainers.images.ImageData
- equals(Object) - Method in class org.testcontainers.utility.DockerImageName
- equals(Object) - Method in class org.testcontainers.utility.TestcontainersConfiguration
- ExecConfig - Class in org.testcontainers.containers
-
Exec configuration.
- ExecConfig.ExecConfigBuilder - Class in org.testcontainers.containers
- execInContainer(InspectContainerResponse, String...) - Static method in class org.testcontainers.containers.ExecInContainerPattern
- execInContainer(InspectContainerResponse, Charset, String...) - Static method in class org.testcontainers.containers.ExecInContainerPattern
- execInContainer(DockerClient, InspectContainerResponse, String...) - Static method in class org.testcontainers.containers.ExecInContainerPattern
-
Run a command inside a running container, as though using "docker exec", and interpreting the output as UTF8.
- execInContainer(DockerClient, InspectContainerResponse, Charset, String...) - Static method in class org.testcontainers.containers.ExecInContainerPattern
-
Run a command inside a running container, as though using "docker exec", and interpreting the output as UTF8.
- execInContainer(DockerClient, InspectContainerResponse, Charset, ExecConfig) - Static method in class org.testcontainers.containers.ExecInContainerPattern
-
Run a command inside a running container as a given user, as using "docker exec -u user".
- execInContainer(DockerClient, InspectContainerResponse, ExecConfig) - Static method in class org.testcontainers.containers.ExecInContainerPattern
-
Run a command inside a running container as a given user, as using "docker exec -u user".
- execInContainer(String...) - Method in interface org.testcontainers.containers.ContainerState
-
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.ContainerState
-
Run a command inside a running container, as though using "docker exec".
- execInContainer(Charset, ExecConfig) - Method in interface org.testcontainers.containers.ContainerState
-
Run a command inside a running container, as though using "docker exec".
- execInContainer(ExecConfig) - Method in interface org.testcontainers.containers.ContainerState
-
Run a command inside a running container, as though using "docker exec".
- ExecInContainerPattern - Class in org.testcontainers.containers
-
Provides utility methods for executing commands in containers
- execInContainerWithUser(DockerClient, InspectContainerResponse, String, String...) - Static method in class org.testcontainers.containers.ExecInContainerPattern
- execInContainerWithUser(DockerClient, InspectContainerResponse, Charset, String, String...) - Static method in class org.testcontainers.containers.ExecInContainerPattern
- execInContainerWithUser(String, String...) - Method in interface org.testcontainers.containers.ContainerState
-
Deprecated.
- execInContainerWithUser(Charset, String, String...) - Method in interface org.testcontainers.containers.ContainerState
-
Deprecated.
- 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
- exposeHostPort(int) - Method in enum class org.testcontainers.containers.PortForwardingContainer
- exposeHostPort(int, int) - Method in enum class org.testcontainers.containers.PortForwardingContainer
- exposeHostPorts(int...) - Static method in class org.testcontainers.Testcontainers
- exposeHostPorts(Map<Integer, Integer>) - Static method in class org.testcontainers.Testcontainers
- ExposeStatementTrait<SELF extends ExposeStatementTrait<SELF> & DockerfileBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.dockerfile.traits
- ExternalPortListeningCheck - Class in org.testcontainers.containers.wait.internal
-
Mechanism for testing that a socket is listening when run from the test host.
- ExternalPortListeningCheck(ContainerState, Set<Integer>) - Constructor for class org.testcontainers.containers.wait.internal.ExternalPortListeningCheck
F
- FAILED - Enum constant in enum class org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
- FilesTrait<SELF extends FilesTrait<SELF> & BuildContextBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
-
BuildContextBuilder's trait for NIO-based (Files and Paths) manipulations.
- FixedHostPortGenericContainer<SELF extends FixedHostPortGenericContainer<SELF>> - Class in org.testcontainers.containers
-
Variant of
GenericContainerthat allows a fixed port on the docker host to be mapped to a container port. - FixedHostPortGenericContainer(String) - Constructor for class org.testcontainers.containers.FixedHostPortGenericContainer
-
Deprecated.it is highly recommended that
FixedHostPortGenericContainernot be used, as it risks port conflicts. - FLV - Enum constant in enum class org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
- 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.
- 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(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.
- forClasspathResource(String) - Static method in class org.testcontainers.utility.MountableFile
-
Obtains a
MountableFilecorresponding to a resource on the classpath (including resources in JAR files) - forClasspathResource(String, Integer) - Static method in class org.testcontainers.utility.MountableFile
-
Obtains a
MountableFilecorresponding 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
MountableFilecorresponding to a file on the docker host filesystem. - forHostPath(String, Integer) - Static method in class org.testcontainers.utility.MountableFile
-
Obtains a
MountableFilecorresponding to a file on the docker host filesystem. - forHostPath(Path) - Static method in class org.testcontainers.utility.MountableFile
-
Obtains a
MountableFilecorresponding to a file on the docker host filesystem. - forHostPath(Path, Integer) - Static method in class org.testcontainers.utility.MountableFile
-
Obtains a
MountableFilecorresponding 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 class 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 class 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
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
-
Deprecated.use
GenericContainer(DockerImageName)instead - GenericContainer(String) - Constructor for class org.testcontainers.containers.GenericContainer
- GenericContainer(Future<String>) - Constructor for class org.testcontainers.containers.GenericContainer
- GenericContainer(RemoteDockerImage) - Constructor for class org.testcontainers.containers.GenericContainer
- GenericContainer(DockerImageName) - 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.
- getBaseEndpoint() - Method in class org.testcontainers.containers.DockerModelRunnerContainer
- 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
-
Deprecated.
- 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
-
Deprecated.
- 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
-
Deprecated.Use getDockerDaemonUrl(@NonNull String machineName) for connection to docker-machine
- 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() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
- getDockerHostIpAddress(URI) - Static method in class org.testcontainers.dockerclient.DockerClientConfigUtils
-
Deprecated.
- 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
- getEndpoint() - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- getEnv() - Method in interface org.testcontainers.containers.Container
-
Deprecated.use getEnvMap
- 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 class 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
- getImagePullTimeout() - 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
-
Deprecated.please use getContainerIpAddress() instead
- 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
-
Deprecated.internal API
- getLinkedContainers() - Method in interface org.testcontainers.containers.Container
- getLinkedContainers() - Method in class org.testcontainers.containers.GenericContainer
- getLivenessCheckPort() - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.see
GenericContainer.getLivenessCheckPorts()for replacement - 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
-
Deprecated.use
GenericContainer.getLivenessCheckPortNumbers()instead - 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
- getOpenAIEndpoint() - Method in class org.testcontainers.containers.DockerModelRunnerContainer
- 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
-
Deprecated.usages should be removed ASAP. See
TestcontainersConfiguration.getEnvVarOrProperty(String, String),TestcontainersConfiguration.getEnvVarOrUserProperty(String, String)orTestcontainersConfiguration.getUserProperty(String, String)for suitable replacements. - 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
-
Deprecated.
- 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
WaitStrategyto 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
H
- hashCode() - Method in class org.testcontainers.containers.Container.ExecResult
- hashCode() - Method in class org.testcontainers.containers.FutureContainer
- hashCode() - Method in class org.testcontainers.containers.GenericContainer
- hashCode() - Method in class org.testcontainers.dockerclient.TransportConfig
- hashCode() - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
- hashCode() - Method in class org.testcontainers.images.builder.dockerfile.statement.Statement
- hashCode() - Method in class org.testcontainers.images.ImageData
- hashCode() - Method in class org.testcontainers.utility.DockerImageName
- hashCode() - Method in class org.testcontainers.utility.TestcontainersConfiguration
- HostPortWaitStrategy - Class in org.testcontainers.containers.wait.strategy
-
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.strategy.HostPortWaitStrategy
- HttpWaitStrategy - Class in org.testcontainers.containers.wait.strategy
- HttpWaitStrategy() - Constructor for class org.testcontainers.containers.wait.strategy.HttpWaitStrategy
I
- id(String) - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
-
Deprecated.
- ImageData - Class in org.testcontainers.images
- ImageData.ImageDataBuilder - Class in org.testcontainers.images
- 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
- ImageNameSubstitutor - Class in org.testcontainers.utility
-
An image name substitutor converts a Docker image name, as may be specified in code, to an alternative name.
- ImageNameSubstitutor() - Constructor for class org.testcontainers.utility.ImageNameSubstitutor
- ImagePullPolicy - Interface in org.testcontainers.images
- IN_A_CONTAINER - Static variable in class org.testcontainers.dockerclient.DockerClientConfigUtils
- IndefiniteWaitOneShotStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
-
Variant of
OneShotStartupCheckStrategythat does not impose a timeout. - IndefiniteWaitOneShotStartupCheckStrategy() - Constructor for class org.testcontainers.containers.startupcheck.IndefiniteWaitOneShotStartupCheckStrategy
- init() - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.internal API
- 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.ImageNameSubstitutor
- instance() - Static method in class org.testcontainers.utility.RegistryAuthLocator
- instance() - Static method in class org.testcontainers.utility.ResourceReaper
- INSTANCE - Enum constant in enum class org.testcontainers.containers.PortForwardingContainer
- INTERNAL_HOST_HOSTNAME - Static variable in class org.testcontainers.containers.GenericContainer
- InternalCommandPortListeningCheck - Class in org.testcontainers.containers.wait.internal
-
Mechanism for testing that a socket is listening when run from the container being checked.
- InternalCommandPortListeningCheck(WaitStrategyTarget, Set<Integer>) - Constructor for class org.testcontainers.containers.wait.internal.InternalCommandPortListeningCheck
- InternetProtocol - Enum Class in org.testcontainers.containers
-
The IP protocols supported by Docker.
- InvalidConfigurationException - Exception in org.testcontainers.dockerclient
-
Exception to indicate that a
DockerClientProviderStrategyfails. - InvalidConfigurationException(String) - Constructor for exception org.testcontainers.dockerclient.InvalidConfigurationException
- InvalidConfigurationException(String, Throwable) - Constructor for exception org.testcontainers.dockerclient.InvalidConfigurationException
- isApplicable() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
- isApplicable() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- isApplicable() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
-
Deprecated.
- isApplicable() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- isApplicable() - Method in class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
- isApplicable() - Method in class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- isApplicable() - Method in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- isApplicable() - Method in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- isCancelled() - Method in class org.testcontainers.utility.LazyFuture
- isCompatibleWith(DockerImageName) - Method in class org.testcontainers.utility.DockerImageName
-
Test whether this
DockerImageNamehas declared compatibility with another image (set usingDockerImageName.asCompatibleSubstituteFor(String)orDockerImageName.asCompatibleSubstituteFor(DockerImageName). - 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?
- isCreated() - Method in interface org.testcontainers.containers.ContainerState
- isDefaultMachineRunning() - Method in class org.testcontainers.utility.DockerMachineClient
- isDeleteOnExit() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
- isDisableChecks() - Method in class org.testcontainers.utility.TestcontainersConfiguration
- isDockerAvailable() - Method in class org.testcontainers.DockerClientFactory
-
Checks whether Docker is accessible and
DockerClientFactory.client()is able to produce a client. - isDockerTimestampNonEmpty(String) - Static method in class org.testcontainers.utility.DockerStatus
- isDone() - Method in class org.testcontainers.utility.LazyFuture
- isFileMountingSupported() - Method in class org.testcontainers.DockerClientFactory
- isGreaterThanOrEqualTo(String) - Method in class org.testcontainers.utility.ComparableVersion
- isHealthy() - Method in interface org.testcontainers.containers.ContainerState
- isHostAccessible() - Method in class org.testcontainers.containers.GenericContainer
- isInstalled() - Method in class org.testcontainers.utility.DockerMachineClient
- isLessThan(String) - Method in class org.testcontainers.utility.ComparableVersion
- isMachineRunning(String) - Method in class org.testcontainers.utility.DockerMachineClient
- isPersistable() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
- isPersistable() - Method in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- isPersistable() - Method in class org.testcontainers.dockerclient.DockerMachineClientProviderStrategy
-
Deprecated.
- isPersistable() - Method in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- isPersistable() - Method in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- isPrivilegedMode() - Method in class org.testcontainers.containers.GenericContainer
- isRemoveColorCodes() - Method in class org.testcontainers.containers.output.BaseConsumer
- isRunning() - Method in interface org.testcontainers.containers.ContainerState
- 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
- isRyukPrivileged() - Method in class org.testcontainers.utility.TestcontainersConfiguration
- isSemanticVersion() - Method in class org.testcontainers.utility.ComparableVersion
- isShouldBeReused() - Method in class org.testcontainers.containers.GenericContainer
- isUsing(Class<? extends DockerClientProviderStrategy>) - Method in class org.testcontainers.DockerClientFactory
J
- JibImage - Class in org.testcontainers.jib
- JibImage(String, Function<JibContainerBuilder, JibContainerBuilder>) - Constructor for class org.testcontainers.jib.JibImage
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
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
- lazyClient() - Static method in class org.testcontainers.DockerClientFactory
- 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
- LicenseAcceptance - Class in org.testcontainers.utility
-
Utility class to ensure that licenses have been accepted by the developer.
- LinkableContainer - Interface in org.testcontainers.containers.traits
- LOCAL - Enum constant in enum class org.testcontainers.containers.ComposeContainer.RemoveImages
-
Remove only images that don't have a custom tag set by the `image` field.
- LOCAL - Enum constant in enum class org.testcontainers.containers.DockerComposeContainer.RemoveImages
-
Remove only images that don't have a custom tag set by the `image` field.
- logger() - Method in class org.testcontainers.containers.GenericContainer
-
Provide a logger that references the docker image name.
- LogMessageWaitStrategy - Class in org.testcontainers.containers.wait.strategy
- LogMessageWaitStrategy() - Constructor for class org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy
- LogToStringContainerCallback - Class in org.testcontainers.dockerclient
-
Deprecated.use
ResultCallback.Adapter - LogToStringContainerCallback() - Constructor for class org.testcontainers.dockerclient.LogToStringContainerCallback
-
Deprecated.
- LogUtils - Class in org.testcontainers.utility
-
Provides utility methods for logging.
- lookupAuthConfig(DockerImageName, AuthConfig) - Method in class org.testcontainers.utility.RegistryAuthLocator
-
Looks up an AuthConfig for a given image name.
M
- MDC_PREFIX - Static variable in class org.testcontainers.utility.AuditLogger
- MinimumDurationRunningStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
-
Implementation of
StartupCheckStrategythat 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.
- modify(CreateContainerCmd) - Method in interface org.testcontainers.core.CreateContainerCmdModifier
-
Callback to modify a
CreateContainerCmdinstance. - 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.
- MP4 - Enum constant in enum class org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
- MultiArgsStatement - Class in org.testcontainers.images.builder.dockerfile.statement
- MultiArgsStatement(String, String...) - Constructor for class org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement
N
- Network - Interface in org.testcontainers.containers
- Network.NetworkImpl - Class in org.testcontainers.containers
- Network.NetworkImpl.NetworkImplBuilder - Class in org.testcontainers.containers
- newNetwork() - Static method in interface org.testcontainers.containers.Network
- next(int, Duration) - Method in class org.testcontainers.utility.DynamicPollInterval
-
Deprecated.
- NONE - Enum constant in enum class org.testcontainers.containers.SelinuxContext
- noop() - Static method in class org.testcontainers.utility.ImageNameSubstitutor
- NOT_YET_KNOWN - Enum constant in enum class org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
- NpipeSocketClientProviderStrategy - Class in org.testcontainers.dockerclient
-
Deprecated.this class is used by the SPI and should not be used directly
- NpipeSocketClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
O
- of(byte[]) - Static method in interface org.testcontainers.images.builder.Transferable
- of(byte[], int) - Static method in interface org.testcontainers.images.builder.Transferable
- of(String) - Static method in interface org.testcontainers.images.builder.Transferable
- of(String, int) - Static method in interface org.testcontainers.images.builder.Transferable
- of(Duration) - Static method in class org.testcontainers.utility.DynamicPollInterval
-
Deprecated.
- ofMillis(long) - Static method in class org.testcontainers.utility.DynamicPollInterval
-
Deprecated.
- onComplete() - Method in class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
- onError(Throwable) - Method in class org.testcontainers.containers.output.FrameConsumerResultCallback
- onError(Throwable) - Method in class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
- OneShotStartupCheckStrategy - Class in org.testcontainers.containers.startupcheck
-
Implementation of
StartupCheckStrategyintended 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
-
Deprecated.
- onNext(PullResponseItem) - Method in class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
- onStart(Closeable) - Method in class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
- 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.internal - package org.testcontainers.containers.wait.internal
- org.testcontainers.containers.wait.strategy - package org.testcontainers.containers.wait.strategy
- org.testcontainers.core - package org.testcontainers.core
- 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.jib - package org.testcontainers.jib
- org.testcontainers.lifecycle - package org.testcontainers.lifecycle
- org.testcontainers.utility - package org.testcontainers.utility
- OS_VERSION - Static variable in class org.testcontainers.utility.ComparableVersion
- OutputFrame - Class in org.testcontainers.containers.output
-
Holds exactly one complete line of container output.
- OutputFrame(OutputFrame.OutputType, byte[]) - Constructor for class org.testcontainers.containers.output.OutputFrame
- OutputFrame.OutputType - Enum Class in org.testcontainers.containers.output
P
- parse(String) - Static method in class org.testcontainers.utility.DockerImageName
-
Parses a docker image name from a provided string.
- ParsedDockerfile - Class in org.testcontainers.images
-
Representation of a Dockerfile, with partial parsing for extraction of a minimal set of data.
- ParsedDockerfile(Path) - Constructor for class org.testcontainers.images.ParsedDockerfile
- PathUtils - Class in org.testcontainers.utility
-
Filesystem operation utility methods.
- performCleanup() - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.no longer supported API, use
DockerClientdirectly - PortForwardingContainer - Enum Class in org.testcontainers.containers
- PRIORITY - Static variable in class org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy
-
Deprecated.
- PRIORITY - Static variable in class org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
-
Deprecated.
- PRIORITY - Static variable in class org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy
-
Deprecated.
- PRIORITY - Static variable in class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- PRIORITY - Static variable in class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- PRIORITY - Static variable in class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- PullPolicy - Class in org.testcontainers.images
-
Convenience class with logic for building common
ImagePullPolicyinstances.
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
- READ_ONLY - Enum constant in enum class org.testcontainers.containers.BindMode
- READ_WRITE - Enum constant in enum class org.testcontainers.containers.BindMode
- recursiveDeleteDir(Path) - Static method in class org.testcontainers.utility.PathUtils
-
Recursively delete a directory and all its subdirectories and files.
- register(GenericContainer<?>, CreateContainerCmd) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.internal API
- registerContainerForCleanup(String, String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.no longer supported API
- registerFilterForCleanup(List<Map.Entry<String, String>>) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.only label filter is supported by the prune API, use
ResourceReaper.registerLabelsFilterForCleanup(Map) - registerImageForCleanup(String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.no longer supported API
- registerLabelsFilterForCleanup(Map<String, String>) - Method in class org.testcontainers.utility.ResourceReaper
-
Register a label to be cleaned up.
- registerNetworkIdForCleanup(String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.no longer supported API
- RegistryAuthLocator - Class in org.testcontainers.utility
-
Utility to look up registry authentication information for an image.
- RegistryAuthLocator() - Constructor for class org.testcontainers.utility.RegistryAuthLocator
- RemoteDockerImage - Class in org.testcontainers.images
- RemoteDockerImage(String, String) - Constructor for class org.testcontainers.images.RemoteDockerImage
-
Deprecated.
- RemoteDockerImage(Future<String>) - Constructor for class org.testcontainers.images.RemoteDockerImage
- RemoteDockerImage(String) - Constructor for class org.testcontainers.images.RemoteDockerImage
-
Deprecated.
- RemoteDockerImage(DockerImageName) - Constructor for class org.testcontainers.images.RemoteDockerImage
- removeNetworkById(String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.use
DockerClientdirectly - resolve() - Method in class org.testcontainers.images.builder.ImageFromDockerfile
- resolve() - Method in class org.testcontainers.images.RemoteDockerImage
- resolve() - Method in class org.testcontainers.jib.JibImage
- 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.
- RootlessDockerClientProviderStrategy - Class in org.testcontainers.dockerclient
-
Deprecated.this class is used by the SPI and should not be used directly
- RootlessDockerClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy
-
Deprecated.
- 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
- saveRecordingToFile(File) - Method in class org.testcontainers.containers.VncRecordingContainer
- selContext - Variable in enum class org.testcontainers.containers.SelinuxContext
- self() - Method in interface org.testcontainers.containers.Container
- SelinuxContext - Enum Class in org.testcontainers.containers
-
Possible contexts for use with SELinux
- SESSION_ID - Static variable in class org.testcontainers.DockerClientFactory
- setBinds(List<Bind>) - Method in interface org.testcontainers.containers.Container
- setBinds(List<Bind>) - Method in class org.testcontainers.containers.GenericContainer
- 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 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.
- setCommandParts(String[]) - Method in interface org.testcontainers.containers.Container
- setCommandParts(String[]) - Method in class org.testcontainers.containers.GenericContainer
- setContainerDef(ContainerDef) - Method in class org.testcontainers.containers.GenericContainer
- setCopyToFileContainerPathMap(Map<MountableFile, String>) - Method in class org.testcontainers.containers.GenericContainer
-
Deprecated.
- 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
- setEnv(List<String>) - Method in class org.testcontainers.containers.GenericContainer
- setExposedPorts(List<Integer>) - Method in interface org.testcontainers.containers.Container
- setExposedPorts(List<Integer>) - Method in class org.testcontainers.containers.GenericContainer
- setExtraHosts(List<String>) - Method in class org.testcontainers.containers.GenericContainer
- setExtraHosts(List<String>) - Method in interface org.testcontainers.containers.Container
- setHostAccessible(boolean) - Method in class org.testcontainers.containers.GenericContainer
- setImage(Future<String>) - Method in interface org.testcontainers.containers.Container
- setImage(Future<String>) - Method in class org.testcontainers.containers.GenericContainer
- setLabels(Map<String, String>) - Method in class org.testcontainers.containers.GenericContainer
- setLinkedContainers(Map<String, LinkableContainer>) - Method in class org.testcontainers.containers.GenericContainer
- setLinkedContainers(Map<String, LinkableContainer>) - Method in interface org.testcontainers.containers.Container
- setLogConsumers(List<Consumer<OutputFrame>>) - Method in class org.testcontainers.containers.GenericContainer
- setNetwork(Network) - Method in class org.testcontainers.containers.GenericContainer
- setNetworkAliases(List<String>) - Method in class org.testcontainers.containers.GenericContainer
- setNetworkMode(String) - Method in class org.testcontainers.containers.GenericContainer
- setPortBindings(List<String>) - Method in interface org.testcontainers.containers.Container
- setPortBindings(List<String>) - Method in class org.testcontainers.containers.GenericContainer
- setPrivilegedMode(boolean) - Method in class org.testcontainers.containers.GenericContainer
- setRemoveColorCodes(boolean) - Method in class org.testcontainers.containers.output.BaseConsumer
- setShmSize(Long) - Method in class org.testcontainers.containers.GenericContainer
-
The shared memory size to use when starting the container.
- setStartupAttempts(int) - Method in class org.testcontainers.containers.GenericContainer
- setStartupCheckStrategy(StartupCheckStrategy) - Method in class org.testcontainers.containers.GenericContainer
- setTmpFsMapping(Map<String, String>) - Method in class org.testcontainers.containers.GenericContainer
- setVolumesFroms(List<VolumesFrom>) - Method in class org.testcontainers.containers.GenericContainer
- setWaitStrategy(WaitStrategy) - Method in interface org.testcontainers.containers.Container
- setWaitStrategy(WaitStrategy) - Method in class org.testcontainers.containers.GenericContainer
- setWorkingDirectory(String) - Method in class org.testcontainers.containers.GenericContainer
- SHARED - Enum constant in enum class org.testcontainers.containers.SelinuxContext
- SHARED - Static variable in interface org.testcontainers.containers.Network
- ShellStrategy - Class in org.testcontainers.containers.wait.strategy
- ShellStrategy() - Constructor for class org.testcontainers.containers.wait.strategy.ShellStrategy
- shouldPull(DockerImageName) - Method in class org.testcontainers.images.AbstractImagePullPolicy
- shouldPull(DockerImageName) - Method in interface org.testcontainers.images.ImagePullPolicy
- shouldPullCached(DockerImageName, ImageData) - Method in class org.testcontainers.images.AbstractImagePullPolicy
-
Implement this method to decide whether a locally available image should be pulled (e.g.
- SINGLE - Enum constant in enum class org.testcontainers.containers.SelinuxContext
- 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
- Slf4jLogConsumer(Logger, boolean) - Constructor for class org.testcontainers.containers.output.Slf4jLogConsumer
- SocatContainer - Class in org.testcontainers.containers
-
A socat container is used as a TCP proxy, enabling any TCP port of another container to be exposed publicly, even if that container does not make the port public itself.
- SocatContainer() - Constructor for class org.testcontainers.containers.SocatContainer
- SocatContainer(DockerImageName) - Constructor for class org.testcontainers.containers.SocatContainer
- sslConfig(SSLConfig) - Method in class org.testcontainers.dockerclient.TransportConfig.TransportConfigBuilder
- start() - Method in class org.testcontainers.containers.ComposeContainer
- start() - Method in class org.testcontainers.containers.DockerComposeContainer
- start() - Method in class org.testcontainers.containers.GenericContainer
-
Starts the container using docker, pulling an image if necessary.
- start() - Method in interface org.testcontainers.lifecycle.Startable
- Startable - Interface in org.testcontainers.lifecycle
- Startables - Class in org.testcontainers.lifecycle
- 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 Class in org.testcontainers.containers.startupcheck
- startupTimeout - Variable in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
- STATE_HEALTHY - Static variable in interface org.testcontainers.containers.ContainerState
- Statement - Class in org.testcontainers.images.builder.dockerfile.statement
- Statement(String) - Constructor for class org.testcontainers.images.builder.dockerfile.statement.Statement
- STDERR - Enum constant in enum class org.testcontainers.containers.output.OutputFrame.OutputType
- STDOUT - Enum constant in enum class org.testcontainers.containers.output.OutputFrame.OutputType
- stop() - Method in class org.testcontainers.containers.ComposeContainer
- stop() - Method in class org.testcontainers.containers.DockerComposeContainer
- stop() - Method in class org.testcontainers.containers.GenericContainer
-
Kill and remove the container.
- stop() - Method in interface org.testcontainers.lifecycle.Startable
- stopAndRemoveContainer(String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.use
DockerClientdirectly - stopAndRemoveContainer(String, String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.use
DockerClientdirectly - streamRecording() - Method in class org.testcontainers.containers.VncRecordingContainer
- StringsTrait<SELF extends StringsTrait<SELF> & BuildContextBuilderTrait<SELF>> - Interface in org.testcontainers.images.builder.traits
-
BuildContextBuilder's trait for String-based manipulations.
- SUCCESSFUL - Enum constant in enum class org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
T
- TCP - Enum constant in enum class org.testcontainers.containers.InternetProtocol
- test() - Method in class org.testcontainers.dockerclient.DockerClientProviderStrategy
-
TODO we should consider moving this to docker-java at some point
- Testcontainers - Class in org.testcontainers
- TESTCONTAINERS_LABEL - Static variable in class org.testcontainers.DockerClientFactory
- TESTCONTAINERS_LANG_LABEL - Static variable in class org.testcontainers.DockerClientFactory
- TESTCONTAINERS_SESSION_ID_LABEL - Static variable in class org.testcontainers.DockerClientFactory
- TESTCONTAINERS_THREAD_GROUP - Static variable in class org.testcontainers.DockerClientFactory
- TESTCONTAINERS_VERSION - Static variable in class org.testcontainers.DockerClientFactory
- TESTCONTAINERS_VERSION_LABEL - Static variable in class org.testcontainers.DockerClientFactory
- TestcontainersConfiguration - Class in org.testcontainers.utility
-
Provides a mechanism for fetching configuration/default settings.
- TestcontainersHostPropertyClientProviderStrategy - Class in org.testcontainers.dockerclient
-
Deprecated.this class is used by the SPI and should not be used directly
- TestcontainersHostPropertyClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.TestcontainersHostPropertyClientProviderStrategy
-
Deprecated.
- TestDescription - Interface in org.testcontainers.lifecycle
- TestEnvironment - Class in org.testcontainers.utility
-
Provides utility methods for determining facts about the test environment.
- TestLifecycleAware - Interface in org.testcontainers.lifecycle
- ThrowingFunction<T,
R> - Interface in org.testcontainers.utility - TimeLimitedLoggedPullImageResultCallback - Class in org.testcontainers.images
-
PullImageResultCallbackwith improved logging of pull progress and a 'watchdog' which will abort the pull if progress is not being made, to prevent a hanging test - TimeLimitedLoggedPullImageResultCallback(Logger) - Constructor for class org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback
- toDockerNotation() - Method in enum class org.testcontainers.containers.InternetProtocol
- toSafeString(AuthConfig) - Static method in class org.testcontainers.utility.AuthConfigUtil
- toString() - Method in class org.testcontainers.containers.Container.ExecResult
- toString() - Method in class org.testcontainers.containers.ExecConfig.ExecConfigBuilder
- toString() - Method in class org.testcontainers.containers.FutureContainer
- toString() - Method in class org.testcontainers.containers.GenericContainer
- toString() - Method in class org.testcontainers.containers.Network.NetworkImpl.NetworkImplBuilder
- toString() - Method in class org.testcontainers.containers.VncRecordingContainer
- toString() - Method in class org.testcontainers.dockerclient.LogToStringContainerCallback
-
Deprecated.
- toString() - Method in class org.testcontainers.dockerclient.TransportConfig
- toString() - Method in class org.testcontainers.dockerclient.TransportConfig.TransportConfigBuilder
- toString() - Method in class org.testcontainers.images.builder.dockerfile.DockerfileBuilder
- toString() - Method in class org.testcontainers.images.builder.dockerfile.statement.Statement
- toString() - Method in class org.testcontainers.images.ImageData.ImageDataBuilder
- toString() - Method in class org.testcontainers.images.ImageData
- toString() - Method in class org.testcontainers.images.RemoteDockerImage
- toString() - Method in class org.testcontainers.utility.DockerImageName
- toString() - Method in class org.testcontainers.utility.TestcontainersConfiguration
- toString(Charset) - Method in class org.testcontainers.containers.output.ToStringConsumer
- 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.
- TransportConfig - Class in org.testcontainers.dockerclient
- TransportConfig.TransportConfigBuilder - Class in org.testcontainers.dockerclient
U
- UDP - Enum constant in enum class org.testcontainers.containers.InternetProtocol
- UnixSocketClientProviderStrategy - Class in org.testcontainers.dockerclient
-
Deprecated.this class is used by the SPI and should not be used directly
- UnixSocketClientProviderStrategy() - Constructor for class org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
-
Deprecated.
- unregisterContainer(String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.no longer supported API
- unregisterNetwork(String) - Method in class org.testcontainers.utility.ResourceReaper
-
Deprecated.no longer supported API
- UnstableAPI - Annotation Interface in org.testcontainers
-
Marks that the annotated API is a subject to change and SHOULD NOT be considered a stable API.
- updateChecksum(Checksum) - Method in interface org.testcontainers.images.builder.Transferable
- updateChecksum(Checksum) - Method in class org.testcontainers.utility.MountableFile
- updateGlobalConfig(String, String) - Method in class org.testcontainers.utility.TestcontainersConfiguration
-
Deprecated.
- updateUserConfig(String, String) - Method in class org.testcontainers.utility.TestcontainersConfiguration
- user(String) - Method in class org.testcontainers.containers.ExecConfig.ExecConfigBuilder
-
The user to run the exec process.
- 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.strategy.HttpWaitStrategy
-
Indicates that the status check should use HTTPS.
V
- valueOf(String) - Static method in enum class org.testcontainers.containers.BindMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.ComposeContainer.RemoveImages
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.DockerComposeContainer.RemoveImages
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.InternetProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.output.OutputFrame.OutputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.PortForwardingContainer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.SelinuxContext
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.testcontainers.containers.BindMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.ComposeContainer.RemoveImages
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.DockerComposeContainer.RemoveImages
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.InternetProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.output.OutputFrame.OutputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.PortForwardingContainer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.SelinuxContext
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.startupcheck.StartupCheckStrategy.StartupStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.VncRecordingContainer.VncRecordingFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
Returns an array containing the constants of this enum class, 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 Class 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
W
- Wait - Class in org.testcontainers.containers.wait.strategy
-
Convenience class with logic for building common
WaitStrategyinstances. - 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 Class in org.testcontainers.containers.wait.strategy
- WaitingConsumer - Class in org.testcontainers.containers.output
-
A consumer for container output that buffers lines in a
BlockingDequeand 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
WaitStrategyto use to determine if the container is ready. - waitingFor(WaitStrategy) - Method in class org.testcontainers.containers.GenericContainer
-
Specify the
WaitStrategyto use to determine if the container is ready. - waitingFor(String, WaitStrategy) - Method in class org.testcontainers.containers.ComposeContainer
-
Specify the
WaitStrategyto use to determine if the container is ready. - waitingFor(String, WaitStrategy) - Method in class org.testcontainers.containers.DockerComposeContainer
-
Specify the
WaitStrategyto 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() - Method in class org.testcontainers.containers.wait.strategy.AbstractWaitStrategy
-
Wait until
AbstractWaitStrategy.waitStrategyTargethas started. - 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.AbstractWaitStrategy
-
Wait until the target has started.
- 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(DockerClient, String) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
- waitUntilStartupSuccessful(GenericContainer<?>) - Method in class org.testcontainers.containers.startupcheck.IsRunningStartupCheckStrategy
- waitUntilStartupSuccessful(GenericContainer<?>) - Method in class org.testcontainers.containers.startupcheck.StartupCheckStrategy
-
Deprecated.internal API
- WITH_INDIVIDUAL_TIMEOUTS_ONLY - Enum constant in enum class org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
Using this mode triggers the following behaviour: The outer timeout is disabled and the outer enclosing strategy waits for all inner strategies according to their timeout.
- WITH_MAXIMUM_OUTER_TIMEOUT - Enum constant in enum class org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
This is the original mode of this strategy: The inner strategies wait with their preconfigured timeout individually and the wait all strategy kills them, if the outer limit is reached.
- WITH_OUTER_TIMEOUT - Enum constant in enum class org.testcontainers.containers.wait.strategy.WaitAllStrategy.Mode
-
This is the default mode: The timeout of the
strategyis applied to each individual strategy, so that the container waits maximum forWaitAllStrategy.timeout. - 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
-
Deprecated.
- 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 interface org.testcontainers.containers.Container
-
Deprecated.
- 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 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
- 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
- withCopyFilesInContainer(String...) - Method in class org.testcontainers.containers.ComposeContainer
- withCopyFilesInContainer(String...) - Method in class org.testcontainers.containers.DockerComposeContainer
- withCopyFileToContainer(MountableFile, String) - Method in interface org.testcontainers.containers.Container
-
Deprecated.
- 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
-
Allow low level modifications of
CreateContainerCmdafter it was pre-configured inGenericContainer.tryStart(). - 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
-
Deprecated.It is recommended to use
ImageFromDockerfile.withDockerfile(java.nio.file.Path)instead because it honors .dockerignore files and will therefore be more efficient. Additionally, usingImageFromDockerfile.withDockerfile(java.nio.file.Path)supports Dockerfiles that depend upon images from authenticated private registries. - withEnv(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, 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(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 class org.testcontainers.containers.ComposeContainer
- withEnv(Map<String, String>) - Method in interface org.testcontainers.containers.Container
-
Add environment variables to be passed to the container.
- withEnv(Map<String, String>) - Method in class org.testcontainers.containers.DockerComposeContainer
- 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) - Method in class org.testcontainers.containers.DockerComposeContainer
- withExposedService(String, int, int) - Method in class org.testcontainers.containers.ComposeContainer
- withExposedService(String, int, int) - Method in class org.testcontainers.containers.DockerComposeContainer
- withExposedService(String, int, int, WaitStrategy) - Method in class org.testcontainers.containers.ComposeContainer
- withExposedService(String, int, int, WaitStrategy) - Method in class org.testcontainers.containers.DockerComposeContainer
- withExposedService(String, int, WaitStrategy) - Method in class org.testcontainers.containers.ComposeContainer
- 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
-
Deprecated.
- withFileSystemBind(String, String, BindMode) - Method in interface org.testcontainers.containers.Container
-
Deprecated.
- 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.
- 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(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 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.
- 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 (
GETby 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.
- withModel(String) - Method in class org.testcontainers.containers.DockerModelRunnerContainer
- 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
- withSecret(String, String) - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- withSecrets(Map<String, String>) - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- withSeparateOutputStreams() - Method in class org.testcontainers.containers.output.Slf4jLogConsumer
- withServer(String, String...) - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- withServer(String, List<String>) - Method in class org.testcontainers.containers.DockerMcpGatewayContainer
- 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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
GenericContainer.withCopyToContainer(Transferable, String)