public static class ContainerConfig.Update extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
withArgs(String... args)
Update the container config with additional args.
|
void |
withBinding(Binding binding)
Update the container config with an additional binding.
|
void |
withCommand(String command,
String... args)
Update the container config with a specific command.
|
void |
withEnv(String name,
String value)
Update the container config with an additional environment variable.
|
void |
withLabel(String name,
String value)
Update the container config with an additional label.
|
void |
withUser(String user)
Update the container config with a specific user.
|
public void withUser(String user)
user - the user to setpublic void withCommand(String command, String... args)
command - the command to setargs - additional arguments to addwithArgs(String...)public void withArgs(String... args)
args - the arguments to addpublic void withLabel(String name, String value)
name - the label namevalue - the label valuepublic void withBinding(Binding binding)
binding - the binding