gvisor/runsc
Nicolas Lacasse 106de2182d runsc: Terminal support for "docker exec -ti".
This CL adds terminal support for "docker exec".  We previously only supported
consoles for the container process, but not exec processes.

The SYS_IOCTL syscall was added to the default seccomp filter list, but only
for ioctls that get/set winsize and termios structs. We need to allow these
ioctl for all containers because it's possible to run "exec -ti" on a
container that was started without an attached console, after the filters
have been installed.

Note that control-character signals are still not properly supported.

Tested with:
	$ docker run --runtime=runsc -it alpine
In another terminial:
	$ docker exec -it <containerid> /bin/sh

PiperOrigin-RevId: 210185456
Change-Id: I6d2401e53a7697bb988c120a8961505c335f96d9
2018-08-24 17:43:21 -07:00
..
boot runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
cmd runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
console runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
container runsc: De-flakes container_test TestMultiContainerSanity. 2018-08-22 17:55:15 -07:00
fsgofer Add option to panic gofer if writes are attempted over RO mounts 2018-08-24 10:17:42 -07:00
sandbox runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
specutils runsc: Allow runsc to properly search the PATH for executable name. 2018-08-24 14:42:40 -07:00
test Standardize mounts in tests 2018-08-20 11:26:39 -07:00
tools/dockercfg Add tool to configure runtime settings in docker 2018-06-20 13:01:16 -07:00
BUILD Make runsc visibility public. 2018-07-27 17:57:42 -07:00
main.go runsc: Fix instances of file access "proxy". 2018-08-15 09:34:18 -07:00