When calling Run method on a project inside a docker container, it fails with "inappropriate ioctl for device".
os.Stdin is not a terminal, so term.SetRawTerminal fails. It also fails later because of configOverride.Tty set to true.
I added DisableTty option in order to maitain backward compatibility, set Tty and StdinOpen from this option in the service.Run method and disabled the use of a terminal in the container.Run method when tty is disabled
When calling Run method on a project inside a docker container, it fails with "inappropriate ioctl for device".
os.Stdin is not a terminal, so term.SetRawTerminal fails. It also fails later because of configOverride.Tty set to true.
I added DisableTty option in order to maitain backward compatibility, set Tty and StdinOpen from this option in the service.Run method and disabled the use of a terminal in the container.Run method when tty is disabled