Package org.mandas.docker.client
Class DockerClient.ExecCreateParam
java.lang.Object
org.mandas.docker.client.DockerClient.Param
org.mandas.docker.client.DockerClient.ExecCreateParam
- Enclosing interface:
- DockerClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DockerClient.ExecCreateParamAttach standard error.static DockerClient.ExecCreateParamattachStderr(boolean attachStderr) Attach standard error.static DockerClient.ExecCreateParamAttach standard input.static DockerClient.ExecCreateParamattachStdin(boolean attachStdin) Attach stdinstatic DockerClient.ExecCreateParamAttach standard ouput.static DockerClient.ExecCreateParamattachStdout(boolean attachStdout) Attach standard ouput.static DockerClient.ExecCreateParamdetach()Execute in detached mode.static DockerClient.ExecCreateParamdetach(boolean detach) Execute in detached modestatic DockerClient.ExecCreateParamGive extended privileges to the command.static DockerClient.ExecCreateParamprivileged(boolean privileged) Give extended privileges to the command.static DockerClient.ExecCreateParamtty()Attach standard streams to a tty.static DockerClient.ExecCreateParamtty(boolean tty) Attach standard streams to a tty.static DockerClient.ExecCreateParamUser that will run the command.Methods inherited from class org.mandas.docker.client.DockerClient.Param
equals, hashCode, name, value
-
Constructor Details
-
ExecCreateParam
-
-
Method Details
-
detach
Execute in detached mode- Parameters:
detach- Whether to detach.- Returns:
- ExecCreateParam
-
detach
Execute in detached mode.- Returns:
- ExecCreateParam
-
attachStdin
Attach stdin- Parameters:
attachStdin- Whether to attach the standard input which allows user interaction.- Returns:
- ExecCreateParam
-
attachStdin
Attach standard input.- Returns:
- ExecCreateParam
-
attachStderr
Attach standard error.- Parameters:
attachStderr- Whether to attach standout error- Returns:
- ExecCreateParam
-
attachStderr
Attach standard error.- Returns:
- ExecCreateParam
-
attachStdout
Attach standard ouput.- Parameters:
attachStdout- Whether to attach standard output- Returns:
- ExecCreateParam
-
attachStdout
Attach standard ouput.- Returns:
- ExecCreateParam
-
privileged
Give extended privileges to the command.- Parameters:
privileged- Whether to give extended privileges to the command- Returns:
- ExecCreateParam
-
privileged
Give extended privileges to the command.- Returns:
- ExecCreateParam
-
tty
Attach standard streams to a tty.- Parameters:
tty- Whether to attach standard streams to a tty.- Returns:
- ExecCreateParam
-
tty
Attach standard streams to a tty.- Returns:
- ExecCreateParam
-
user
User that will run the command.- Parameters:
user- user- Returns:
- ExecCreateParam
-