示例#1
0
    def __init__(self, config, cache):

        self.config = config
        self.containers = []
        self.cache = cache
        self.docker = DockerPyClient(config['remote'], config['username'],
                                     config['password'], config['email'])

        self.log = logging.getLogger(__name__)