Answer the question
In order to leave comments, you need to log in
How to simulate a TTY during the build phase of a Docker image?
When preparing the image, you must run a third-party console program.
An error message occurs.
stty: 'standard input': Inappropriate ioctl for device
stty -a
or something like that. #mknod -m 660 /dev/ttyS0 c 4 64
#chown root:tty /dev/ttyS0
#setsid sh -c 'exec stty -a <> /dev/tty >&0 2>&1'
#echo '======'
stty -a
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question