private void saveDockerImages ( Collection < DockerImage > dockerImages , Collection < AgentProjectInfo > projects ) throws IOException { logger . info ( "Saving {} docker images" , dockerImages . size ( ) ) ; int counter = 1 ; int imagesCount = dockerImages . size ( ) ; for ( DockerImage dockerImage : dockerImages ) { logger . info ( "Image {} of {} Images" , counter , imagesCount ) ; //saveDockerImage(dockerImage, projects); manageDockerImage ( dockerImage , projects ) ; counter ++ ; } }
Save docker images and scan files