gvisor/runsc/boot
Justine Olshan c05660373e Moved restore code out of create and made to be called after create.
Docker expects containers to be created before they are restored.
However, gVisor restoring requires specificactions regarding the kernel
and the file system. These actions were originally in booting the sandbox.

Now setting up the file system is deferred until a call to a call to
runsc start. In the restore case, the kernel is destroyed and a new kernel
is created in the same process, as we need the same process for Docker.

These changes required careful execution of concurrent processes which
required the use of a channel.

Full docker integration still needs the ability to restore into the same
container.

PiperOrigin-RevId: 205161441
Change-Id: Ie1d2304ead7e06855319d5dc310678f701bd099f
2018-07-18 16:58:30 -07:00
..
filter runsc/boot/filter: permit SYS_TIME for race 2018-07-02 17:47:32 -07:00
BUILD Added functionality to create a RestoreEnvironment. 2018-06-21 10:18:11 -07:00
config.go Add option to configure watchdog action 2018-06-28 09:46:50 -07:00
controller.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
debug.go Add 'runsc debug' command 2018-06-20 13:31:31 -07:00
events.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
fds.go
fs.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
limits.go Make default limits the same as with runc 2018-07-02 12:51:38 -07:00
loader.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
loader_test.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
network.go Automated rollback of changelist 203157739 2018-07-11 15:07:19 -07:00
strace.go