public class SocatContainer extends GenericContainer<SocatContainer>
GenericContainer.AbstractWaitStrategy
Container.ExecResult
CONTAINER_RUNNING_TIMEOUT_SEC, containerId, containerName, dockerClient, dockerDaemonInfo, waitStrategy
STATE_HEALTHY
Constructor and Description |
---|
SocatContainer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
SocatContainer |
withTarget(int exposedPort,
java.lang.String host) |
SocatContainer |
withTarget(int exposedPort,
java.lang.String host,
int internalPort) |
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, containerIsStarted, containerIsStarting, copyFileFromContainer, copyFileToContainer, createVolumeDirectory, doStart, execInContainer, execInContainer, failed, fetchDockerDaemonInfo, finished, getDockerImageName, getEnv, getEnvMap, getIpAddress, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getTestHostIpAddress, getWaitStrategy, logger, setCommand, setCommand, setDockerImageName, setEnv, setWaitStrategy, start, starting, stop, succeeded, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withVolumesFrom, withWorkingDirectory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFileSystemBind, followOutput, followOutput, getBinds, getCommandParts, getDockerClient, getDockerDaemonInfo, getExtraHosts, getImage, getLinkedContainers, getPortBindings, self, setBinds, setCommandParts, setExposedPorts, setExtraHosts, setImage, setLinkedContainers, setPortBindings, withEnv, withFileSystemBind
getContainerName
getBoundPortNumbers, getContainerId, getContainerInfo, getContainerIpAddress, getCurrentContainerInfo, getExposedPorts, getFirstMappedPort, getMappedPort, isCreated, isHealthy, isRunning
public SocatContainer withTarget(int exposedPort, java.lang.String host)
public SocatContainer withTarget(int exposedPort, java.lang.String host, int internalPort)
protected void configure()
configure
in class GenericContainer<SocatContainer>