Class SocatHandler
java.lang.Object
com.github.mwiede.dockerjava.jsch.SocatHandler
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.github.dockerjava.api.model.ContainerstartSocat(com.jcraft.jsch.Session session, String socatFlags, String dockerSocketPath)static void
-
Field Details
-
INTERNAL_SOCAT_PORT
public static final int INTERNAL_SOCAT_PORT- See Also:
- Constant Field Values
-
-
Method Details
-
startSocat
public static com.github.dockerjava.api.model.Container startSocat(com.jcraft.jsch.Session session, String socatFlags, String dockerSocketPath) throws com.jcraft.jsch.JSchException, IOException- Throws:
com.jcraft.jsch.JSchExceptionIOException
-
stopSocat
public static void stopSocat(com.jcraft.jsch.Session session, String containerId) throws com.jcraft.jsch.JSchException, IOException- Throws:
com.jcraft.jsch.JSchExceptionIOException
-