Class Cleaner


  • public class Cleaner
    extends Object
    Class designed for cleaning docker after job, means delete containers, networks and sometimes images.
    • Constructor Detail

      • Cleaner

        public Cleaner()
    • Method Detail

      • cleanUp

        public void cleanUp​(List<String> networks,
                            List<String> containers)
        Clear instances of docker container from list (stop -> delete) and networks (delete).
        Parameters:
        networks - the networks
        containers - the containers