enable tty on docker runner

I write module working with tty and i need testing code. How enable tty?