Class SocatHandler


  • public class SocatHandler
    extends Object
    • Method Detail

      • 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.JSchException
        IOException
      • stopSocat

        public static void stopSocat​(com.jcraft.jsch.Session session,
                                     String containerId)
                              throws com.jcraft.jsch.JSchException,
                                     IOException
        Throws:
        com.jcraft.jsch.JSchException
        IOException