Common higher level Docker tasks built on top of the low level remote API.


purgeAll(DockerConnection connection) → Future<PurgeAllResult>

Stops and removes all containers and removes all images.

removeAllExitedContainers(DockerConnection connection) → Future<Iterable<Container>>

Remove all stopped containers.

removeAllImages(DockerConnection connection) → Future<Iterable<ImageInfo>>

Remove all images. If images are referenced by containers they can't be removed.

stopAllContainers(DockerConnection connection) → Future<Iterable<Container>>

Stop all running containers. Returns the containers it tried to remove.



Container containing information about the result of purgeAll.