'Convert container in Container instances'

def _to_container(self, data, container_status, pod_data):

    return Container(id=container_status['containerID'], name=data['name'], image=ContainerImage(id=container_status['imageID'], name=data['image'], path=None, version=None, driver=self.connection.driver), ip_addresses=None, state=ContainerState.RUNNING, driver=self.connection.driver, extra={'pod': pod_data['metadata']['name'], 'namespace': pod_data['metadata']['namespace']})
