Exposing the withTTY method for container creation.