public class MinIOContainer extends org.testcontainers.containers.GenericContainer<MinIOContainer>
Supported image: minio/minio
Exposed ports:
| Constructor and Description |
|---|
MinIOContainer(org.testcontainers.utility.DockerImageName dockerImageName)
Constructs a MinIO container from the dockerImageName
|
MinIOContainer(java.lang.String dockerImageName)
Constructs a MinIO container from the dockerImageName
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure()
Configures the MinIO container
|
java.lang.String |
getPassword() |
java.lang.String |
getS3URL() |
java.lang.String |
getUserName() |
MinIOContainer |
withPassword(java.lang.String password)
Overrides the DEFAULT_PASSWORD
|
MinIOContainer |
withUserName(java.lang.String userName)
Overrides the DEFAULT_USER
|
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, failed, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerDef, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindcopyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, execInContainer, execInContainer, execInContainerWithUser, execInContainerWithUser, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningpublic MinIOContainer(java.lang.String dockerImageName)
dockerImageName - the full image name to usepublic MinIOContainer(org.testcontainers.utility.DockerImageName dockerImageName)
dockerImageName - the full image name to usepublic MinIOContainer withUserName(java.lang.String userName)
userName - the Root user to overridepublic MinIOContainer withPassword(java.lang.String password)
password - the Root user's password to overridepublic void configure()
configure in class org.testcontainers.containers.GenericContainer<MinIOContainer>public java.lang.String getS3URL()
public java.lang.String getUserName()
public java.lang.String getPassword()