public Container getLatestContainerForImage(String image, boolean all) throws DockerAccessException {
        return getLatestContainer(getContainersForImage(image, all));
    }
Get the id of the latest container started for an image

@param image for which its container are looked up
@param all if true, fetch stopped containers as well as running containers.
@return container or <code>null</code> if no container has been started for this image.
@throws DockerAccessException if the request fails
src/main/java/io/fabric8/maven/docker/service/QueryService.java