def METHOD_NAME(self, ssl_folder: str) -> Container:
    client: DockerClient = from_env()
    container = client.containers.run(
        image="library/docker:dind",
        detach=True,
        network_mode="host",
        privileged=True,
        healthcheck=Healthcheck(
            test=["CMD", "docker", "info"],
            interval=5 * 100 * 1000000,
            start_period=5 * 100 * 1000000,
        ),
        environment={"DOCKER_TLS_CERTDIR": "/ssl"},
        volumes={
            f"{ssl_folder}/": {
                "bind": "/ssl",
            }
        },
    )
    while True:
        container.reload()
        status = container.attrs.get("State", {}).get("Health", {}).get("Status")
        if status == "healthy":
            return container
        sleep(1)