-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Description
Hi guys,
Original tracer:
https://bugzilla.redhat.com/show_bug.cgi?id=1087697
the man page states:
--sig-proxy=true: Proxify all received signal to the process (even in non-tty mode)
But the real behavior is, that sig-proxy doesn't work when --tty=true. It should be mentioned in there, taht --sig-proxy is incompatible with --tty.
Version-Release number of selected component (if applicable):
docker-io-0.9.1-1.fc21.x86_64
docker-io-0.10.0-2.fc20.x86_64
How reproducible:
always
Steps to Reproduce:
- man docker
Actual results:
man page says it works even in non-tty
Expected results:
man page warns that --tty can't be used with --sig-proxy
How to verify:
docker run --tty=true -i --rm fedora bash -c 'for NUM inseq 1 64; do trap "echo Received $NUM, ignoring..." $NUM; done; while :; do sleep 1; done'ps -ax | grep dockerkill -SIGUSR1 $PID- (with --tty=true no signals are received, when you try the same with --tty=false, signals are proxified and messages are displayed)
Metadata
Metadata
Assignees
Labels
No labels