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 |
withBind(String source,
String dest)
Update the container config with an additional bind.
|
void |
withBind(VolumeName sourceVolume,
String dest)
Update the container config with an additional bind.
|
void |
withCommand(String command,
String... args)
Update the container config with a specific command.
|
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 withBind(VolumeName sourceVolume, String dest)
sourceVolume
- the source volumedest
- the bind destination