Package com.spotify.docker.client
Class DockerClient.ExecCreateParam
java.lang.Object
com.spotify.docker.client.DockerClient.Param
com.spotify.docker.client.DockerClient.ExecCreateParam
- Enclosing interface:
DockerClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DockerClient.ExecCreateParam
Attach standard error.static DockerClient.ExecCreateParam
attachStderr
(boolean attachStderr) Attach standard error.static DockerClient.ExecCreateParam
Attach standard input.static DockerClient.ExecCreateParam
attachStdin
(boolean attachStdin) Attach stdinstatic DockerClient.ExecCreateParam
Attach standard ouput.static DockerClient.ExecCreateParam
attachStdout
(boolean attachStdout) Attach standard ouput.private static DockerClient.ExecCreateParam
static DockerClient.ExecCreateParam
detach()
Execute in detached mode.static DockerClient.ExecCreateParam
detach
(boolean detach) Execute in detached modestatic DockerClient.ExecCreateParam
Give extended privileges to the command.static DockerClient.ExecCreateParam
privileged
(boolean privileged) Give extended privileges to the command.static DockerClient.ExecCreateParam
tty()
Attach standard streams to a tty.static DockerClient.ExecCreateParam
tty
(boolean tty) Attach standard streams to a tty.static DockerClient.ExecCreateParam
User that will run the command.Methods inherited from class com.spotify.docker.client.DockerClient.Param
equals, hashCode, name, value
-
Constructor Details
-
ExecCreateParam
-
-
Method Details
-
create
-
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
-