def METHOD_NAME(self):
    if self._container is None:
        all_containers = {c.name: c for c in self._docker.containers.list(all=True)}
        self._container = all_containers.get(f"{self.CONTAINER_NAME}-{self.port}")
    return self._container