Files
docker-cli/cli/command
Sebastiaan van Stijn ee29504923 Do not disable sig-proxy when using a TTY
This partially reverts e0b59ab52b,
and does not automatically disable proxying signals in TTY-mode

Before this change:
------------------------------------

Start a container with a TTY in one shell:

```
docker run -it --init --name repro-28872 busybox sleep 30
```

then, in another shell, kill the docker cli:

```
kill `pgrep -f repro-28872`
```

Notice that the CLI was killed, but the signal not forwarded to the container;
the container continues running

```
docker container inspect --format '{{ .State.Status }}' repro-28872
running

docker container rm -f repro-28872
```

After this change:
------------------------------------

Start a container with a TTY in one shell:

```
docker run -it --init --name repro-28872 busybox sleep 30
```

then, in another shell, kill the docker cli:

```
kill `pgrep -f repro-28872`
```

Verify that the signal was forwarded to the container, and the container exited

```
docker container inspect --format '{{ .State.Status }}' repro-28872
exited

docker container rm -f repro-28872
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-06-25 16:29:21 +02:00
..
2018-06-08 18:24:26 +02:00
2019-01-08 00:35:24 +01:00
2019-01-10 22:25:43 +01:00
2018-06-08 18:24:26 +02:00
2019-05-14 01:29:18 +00:00
2018-06-08 18:24:26 +02:00
2018-11-08 11:37:49 +01:00
2019-04-13 17:51:15 +02:00
2018-10-23 17:05:44 +02:00
2018-11-08 11:37:49 +01:00
2019-03-13 14:18:41 +01:00
2019-04-18 15:49:36 +02:00
2017-09-01 19:41:06 -04:00
2019-01-10 22:25:43 +01:00
2019-03-28 21:08:13 +00:00