Class DockerClient.ExecCreateParam

    • Constructor Detail

      • ExecCreateParam

        public ExecCreateParam​(String name,
                               String value)
    • Method Detail

      • detach

        public static DockerClient.ExecCreateParam detach​(boolean detach)
        Execute in detached mode
        Parameters:
        detach - Whether to detach.
        Returns:
        ExecCreateParam
      • attachStdin

        public static DockerClient.ExecCreateParam attachStdin​(boolean attachStdin)
        Attach stdin
        Parameters:
        attachStdin - Whether to attach the standard input which allows user interaction.
        Returns:
        ExecCreateParam
      • attachStderr

        public static DockerClient.ExecCreateParam attachStderr​(boolean attachStderr)
        Attach standard error.
        Parameters:
        attachStderr - Whether to attach standout error
        Returns:
        ExecCreateParam
      • attachStdout

        public static DockerClient.ExecCreateParam attachStdout​(boolean attachStdout)
        Attach standard ouput.
        Parameters:
        attachStdout - Whether to attach standard output
        Returns:
        ExecCreateParam
      • privileged

        public static DockerClient.ExecCreateParam privileged​(boolean privileged)
        Give extended privileges to the command.
        Parameters:
        privileged - Whether to give extended privileges to the command
        Returns:
        ExecCreateParam
      • tty

        public static DockerClient.ExecCreateParam tty​(boolean tty)
        Attach standard streams to a tty.
        Parameters:
        tty - Whether to attach standard streams to a tty.
        Returns:
        ExecCreateParam