src/Joli/JoliCi/Vacuum.php
public function cleanImages($jobs = array(), $force = false)
    {
        foreach ($jobs as $job) {
            $this->docker->getImageManager()->remove(sprintf('%s:%s', $job->getRepository(), $job->getTag()), [
                'force' => $force
            ]);
        }
    }
public function cleanImages($jobs = array(), $force = false)
    {
        foreach ($jobs as $job) {
            $this->docker->getImageManager()->remove(sprintf('%s:%s', $job->getRepository(), $job->getTag()), [
                'force' => $force
            ]);
        }
    }
public function cleanImages ( $ jobs = array ( ) , $ force = false ) { foreach ( $ jobs as $ job ) { $ this -> docker -> getImageManager ( ) -> remove ( sprintf ( '%s:%s' , $ job -> getRepository ( ) , $ job -> getTag ( ) ) , [ 'force' => $ force ] ) ; } }
Clean images for given builds

@param \Joli\JoliCi\Job[] $jobs   A list of jobs to remove images from
@param boolean            $force  Force removal for images
Clean images for given builds