public class CommitCmdImpl extends AbstrDockerCmd<CommitCmd,String> implements CommitCmd
CommitCmd.Execexecution| Constructor and Description |
|---|
CommitCmdImpl(CommitCmd.Exec exec,
String containerId) |
close, registryAuth, toStringpublic CommitCmdImpl(CommitCmd.Exec exec, String containerId)
public String getContainerId()
getContainerId in interface CommitCmdpublic CommitCmdImpl withContainerId(String containerId)
withContainerId in interface CommitCmdpublic String getRepository()
getRepository in interface CommitCmdpublic String getMessage()
getMessage in interface CommitCmdpublic Boolean hasPauseEnabled()
hasPauseEnabled in interface CommitCmdpublic CommitCmdImpl withAttachStderr(Boolean attachStderr)
withAttachStderr in interface CommitCmdpublic CommitCmdImpl withAttachStdin(Boolean attachStdin)
withAttachStdin in interface CommitCmdpublic CommitCmdImpl withAttachStdout(Boolean attachStdout)
withAttachStdout in interface CommitCmdpublic CommitCmdImpl withCmd(String... cmd)
public CommitCmdImpl withDisableNetwork(Boolean disableNetwork)
withDisableNetwork in interface CommitCmdpublic CommitCmdImpl withAuthor(String author)
withAuthor in interface CommitCmdpublic CommitCmdImpl withMessage(String message)
withMessage in interface CommitCmdpublic CommitCmdImpl withTag(String tag)
public CommitCmdImpl withRepository(String repository)
withRepository in interface CommitCmdpublic CommitCmdImpl withPause(Boolean pause)
public CommitCmdImpl withEnv(String... env)
public CommitCmdImpl withLabels(Map<String,String> labels)
withLabels in interface CommitCmdpublic ExposedPorts getExposedPorts()
getExposedPorts in interface CommitCmdpublic CommitCmdImpl withExposedPorts(ExposedPorts exposedPorts)
withExposedPorts in interface CommitCmdpublic String getHostname()
getHostname in interface CommitCmdpublic CommitCmdImpl withHostname(String hostname)
withHostname in interface CommitCmdpublic CommitCmdImpl withMemory(Integer memory)
withMemory in interface CommitCmdpublic Integer getMemorySwap()
getMemorySwap in interface CommitCmdpublic CommitCmdImpl withMemorySwap(Integer memorySwap)
withMemorySwap in interface CommitCmdpublic Boolean isOpenStdin()
isOpenStdin in interface CommitCmdpublic CommitCmdImpl withOpenStdin(Boolean openStdin)
withOpenStdin in interface CommitCmdpublic String[] getPortSpecs()
getPortSpecs in interface CommitCmdpublic CommitCmdImpl withPortSpecs(String... portSpecs)
withPortSpecs in interface CommitCmdpublic Boolean isStdinOnce()
isStdinOnce in interface CommitCmdpublic CommitCmdImpl withStdinOnce(Boolean stdinOnce)
withStdinOnce in interface CommitCmdpublic CommitCmdImpl withTty(Boolean tty)
public CommitCmdImpl withUser(String user)
public Volumes getVolumes()
getVolumes in interface CommitCmdpublic CommitCmdImpl withVolumes(Volumes volumes)
withVolumes in interface CommitCmdpublic String getWorkingDir()
getWorkingDir in interface CommitCmdpublic CommitCmdImpl withWorkingDir(String workingDir)
withWorkingDir in interface CommitCmdpublic String exec() throws NotFoundException
exec in interface CommitCmdexec in interface SyncDockerCmd<String>exec in class AbstrDockerCmd<CommitCmd,String>NotFoundException - No such containerCopyright © 2017. All Rights Reserved.