-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionthis class is used by the SPI and should not be used directlythis class is used by the SPI and should not be used directlythis class is used by the SPI and should not be used directlyuse
ResultCallback.Adapterthis class is used by the SPI and should not be used directlythis class is used by the SPI and should not be used directlythis class is used by the SPI and should not be used directlythis class is used by the SPI and should not be used directlyFor internal usage only.
-
Deprecated MethodsMethodDescriptionuse getEnvMapplease use getContainerIpAddress() insteadsee
GenericContainer.getLivenessCheckPorts()for replacementuseGenericContainer.getLivenessCheckPortNumbers()insteadinternal APIIt is recommended to useImageFromDockerfile.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.Use getDockerDaemonUrl(@NonNull String machineName) for connection to docker-machineinternal APIinternal APIno longer supported API, useDockerClientdirectlyinternal APIno longer supported APIonly label filter is supported by the prune API, useResourceReaper.registerLabelsFilterForCleanup(Map)no longer supported APIno longer supported APIuseDockerClientdirectlyuseDockerClientdirectlyuseDockerClientdirectlyno longer supported APIno longer supported APIusages should be removed ASAP. SeeTestcontainersConfiguration.getEnvVarOrProperty(String, String),TestcontainersConfiguration.getEnvVarOrUserProperty(String, String)orTestcontainersConfiguration.getUserProperty(String, String)for suitable replacements.
-
Deprecated ConstructorsConstructorDescriptionit is highly recommended that
FixedHostPortGenericContainernot be used, as it risks port conflicts.useGenericContainer(DockerImageName)insteaduseDockerImageName.parse(String)instead
Networkfeatures instead.