public String getContainerName(String containerId) throws DockerAccessException {
        return getMandatoryContainer(containerId).getName();
    }
Get name for single container when the id is given

@param containerId id of container to lookup
@return the name of the container
@throws DockerAccessException if access to the docker daemon fails
src/main/java/io/fabric8/maven/docker/service/QueryService.java