gvisor/runsc/container
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
..
BUILD Added leave-running flag for checkpoint. 2018-06-29 13:09:33 -07:00
container.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
container_test.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
hook.go
status.go Added code for a pause command for a container process. 2018-06-15 16:09:09 -07:00