Class DockerExecCommand


  • public class DockerExecCommand
    extends DockerCommand
    Encapsulates the docker exec command and its command line arguments.
    • Constructor Detail

      • DockerExecCommand

        public DockerExecCommand​(String containerName)
    • Method Detail

      • addExecCommand

        public DockerExecCommand addExecCommand​(List<String> commandInContainer)
        Add the command to run from inside container.
        Parameters:
        commandInContainer - the command to run from inside container
        Returns:
        the self