def __init__(
        self,
        image: str = "alpine/socat:1.7.4.3-r0",
        **kwargs,
    ) -> None:
        """
        Initialize a new SocatContainer with the given image.

        Args:
            image: The Docker image to use. Defaults to "alpine/socat:1.7.4.3-r0".
            **kwargs: Additional keyword arguments to pass to the DockerContainer constructor.
        """
        # Dictionary to store targets (port -> host:port mappings)
        self.targets: dict[int, str] = {}

        kwargs["entrypoint"] = "/bin/sh"

        random_suffix = "".join(random.choices(string.ascii_lowercase + string.digits, k=8))
        self.with_name(f"testcontainers-socat-{random_suffix}")

        super().__init__(image=image, **kwargs)

        Initialize a new SocatContainer with the given image.

        Args:
            image: The Docker image to use. Defaults to "alpine/socat:1.7.4.3-r0".
            **kwargs: Additional keyword arguments to pass to the DockerContainer constructor.
        
core/testcontainers/socat/socat.py