containerd/pkg/process
Akshat Kumar 7a9fbec5fb Add logging binary support when terminal is true
Currently the shims only support starting the logging binary process if the
io.Creator Config does not specify Terminal: true. This means that the program
using containerd will only be able to specify FIFO io when Terminal: true,
rather than allowing the shim to fork the logging binary process. Hence,
containerd consumers face an inconsistent behavior regarding logging binary
management depending on the Terminal option.

Allowing the shim to fork the logging binary process will introduce consistency
between the running container and the logging process. Otherwise, the logging
process may die if its parent process dies whereas the container will keep
running, resulting in the loss of container logs.

Signed-off-by: Akshat Kumar <kshtku@amazon.com>
2020-08-25 17:28:29 -07:00
..
deleted_state.go Use cached state instead of runc state. 2019-10-03 10:53:13 -07:00
exec_state.go Use cached state instead of runc state. 2019-10-03 10:53:13 -07:00
exec.go Add logging binary support when terminal is true 2020-08-25 17:28:29 -07:00
init_state.go Add logging binary support when terminal is true 2020-08-25 17:28:29 -07:00
init.go Add logging binary support when terminal is true 2020-08-25 17:28:29 -07:00
io_test.go Add binary IO tests 2020-04-17 16:50:43 -07:00
io.go Process I/O: Fix goroutine leak 2020-06-07 17:38:36 -04:00
process.go Refactor runtime code for code sharing 2019-07-08 11:47:53 -04:00
types.go Refactor runtime code for code sharing 2019-07-08 11:47:53 -04:00
utils.go Transfer error to ErrNotFound when kill a not exist container, also add 2020-05-11 21:53:43 +08:00