from .base import Docker class Containers(Docker): def list_containers(self): containers = self.client.containers.list() return containers