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