def stop_marqo_container(self, version: str):
        """
        Stop a Marqo container but don't remove it yet.

        Args:
            version (str): The version of the Marqo container to stop.

        Raises:
            RuntimeError: If there is an unexpected error during the container stop process.
        """
        container_name = f"marqo-{version}"
        self.logger.info(f"Stopping container with container name {container_name}")


        try:
            # Get the container by name
            container = self.docker_client.containers.get(container_name)

            # Stop the container
            container.stop()
            self.logger.debug(f"Successfully stopped container {container_name}")

        except NotFound:
            self.logger.warning(f"Warning: Container {container_name} not found. It may not be running.")
        except APIError as e:
            raise RuntimeError(f"Failed to stop container {container_name}") from e

        Stop a Marqo container but don't remove it yet.

        Args:
            version (str): The version of the Marqo container to stop.

        Raises:
            RuntimeError: If there is an unexpected error during the container stop process.
        
tests/compatibility_tests/docker_manager.py