gvisor/runsc/cmd
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
..
BUILD runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
boot.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
capability.go Fix lint errors 2018-06-25 10:41:27 -07:00
checkpoint.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
cmd.go Error out if spec is invalid 2018-06-28 09:57:27 -07:00
create.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
debug.go Initial change for multi-gofer support 2018-08-21 13:14:43 -07:00
delete.go Supress error when deleting non-existing container with --force 2018-05-29 17:58:12 -07:00
delete_test.go runsc: Support abbreviated container IDs. 2018-06-06 16:13:53 -07:00
events.go runsc: Enable container creation within existing sandboxes. 2018-06-19 21:44:33 -07:00
exec.go runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
exec_test.go Check in gVisor. 2018-04-28 01:44:26 -04:00
gofer.go Add option to panic gofer if writes are attempted over RO mounts 2018-08-24 10:17:42 -07:00
kill.go runsc/cmd: fix kill signal parsing 2018-06-15 11:06:07 -07:00
list.go Refactor the Sandbox package into Sandbox + Container. 2018-05-15 10:18:03 -07:00
path.go Check in gVisor. 2018-04-28 01:44:26 -04:00
pause.go Added code for a pause command for a container process. 2018-06-15 16:09:09 -07:00
ps.go runsc: Enable container creation within existing sandboxes. 2018-06-19 21:44:33 -07:00
restore.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
resume.go Added a resume command to unpause a paused container. 2018-06-19 15:23:36 -07:00
run.go Refactor the Sandbox package into Sandbox + Container. 2018-05-15 10:18:03 -07:00
start.go Refactor the Sandbox package into Sandbox + Container. 2018-05-15 10:18:03 -07:00
state.go Refactor the Sandbox package into Sandbox + Container. 2018-05-15 10:18:03 -07:00
wait.go runsc: `runsc wait` print wait status. 2018-07-03 11:58:12 -07:00