public static class ContainerConfig.Update
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
withArgs(java.lang.String... args)
Update the container config with additional args.
|
void |
withBind(java.lang.String source,
java.lang.String dest)
Update the container config with an additional bind.
|
void |
withBind(VolumeName sourceVolume,
java.lang.String dest)
Update the container config with an additional bind.
|
void |
withCommand(java.lang.String command,
java.lang.String... args)
Update the container config with a specific command.
|
void |
withLabel(java.lang.String name,
java.lang.String value)
Update the container config with an additional label.
|
void |
withUser(java.lang.String user)
Update the container config with a specific user.
|
public void withUser(java.lang.String user)
user - the user to setpublic void withCommand(java.lang.String command,
java.lang.String... args)
command - the command to setargs - additional arguments to addwithArgs(String...)public void withArgs(java.lang.String... args)
args - the arguments to addpublic void withLabel(java.lang.String name,
java.lang.String value)
name - the label namevalue - the label valuepublic void withBind(VolumeName sourceVolume, java.lang.String dest)
sourceVolume - the source volumedest - the bind destinationpublic void withBind(java.lang.String source,
java.lang.String dest)
source - the bind sourcedest - the bind destination