public List<Container> listContainers(final boolean all) throws DockerAccessException {
        return docker.listContainers(all);
    }
List all containers on the Docker server.

@param all if true, list stopped containers as well as running containers.

@return list of <code>Container</code> objects
@throws DockerAccessException if the request fails
src/main/java/io/fabric8/maven/docker/service/QueryService.java