com.github.dockerjava.api.command
Interface WaitContainerCmd
- All Superinterfaces:
- DockerCmd<Integer>
- All Known Implementing Classes:
- WaitContainerCmdImpl
public interface WaitContainerCmd
- extends DockerCmd<Integer>
Wait a container
Block until container stops, then returns its exit code
getContainerId
String getContainerId()
withContainerId
WaitContainerCmd withContainerId(String containerId)
exec
Integer exec()
throws NotFoundException
- Specified by:
exec
in interface DockerCmd<Integer>
- Throws:
NotFoundException
- container not found
Copyright © 2014. All rights reserved.