public String getImageId(String imageName) throws DockerAccessException {
        return docker.getImageId(imageName);
    }
Finds the id of an image.

@param imageName name of the image.
@return the id of the image
@throws DockerAccessException if the request fails
src/main/java/io/fabric8/maven/docker/service/QueryService.java