com.github.dockerjava.client.command
Class RemoveContainerCmd
java.lang.Object
com.github.dockerjava.client.command.AbstrDockerCmd<RemoveContainerCmd,Void>
com.github.dockerjava.client.command.RemoveContainerCmd
- All Implemented Interfaces:
- DockerCmd<Void>
public class RemoveContainerCmd
- extends AbstrDockerCmd<RemoveContainerCmd,Void>
Remove a container.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveContainerCmd
public RemoveContainerCmd(String containerId)
withContainerId
public RemoveContainerCmd withContainerId(String containerId)
withRemoveVolumes
public RemoveContainerCmd withRemoveVolumes(boolean removeVolumes)
withForce
public RemoveContainerCmd withForce()
withForce
public RemoveContainerCmd withForce(boolean force)
impl
protected Void impl()
throws DockerException
- Throws:
DockerException
Copyright © 2014. All rights reserved.