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