storage/pkg/reexec
Nalin Dahyabhai c3c0fa0303 reexec: add CommandContext()
Add CommandContext(), which is like Command(), but which also takes a
context, very much in keeping with os/exec.CommandContext().

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2019-03-07 11:45:24 -05:00
..
README.md Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
command_linux.go reexec: add CommandContext() 2019-03-07 11:45:24 -05:00
command_unix.go reexec: add CommandContext() 2019-03-07 11:45:24 -05:00
command_unsupported.go reexec: add CommandContext() 2019-03-07 11:45:24 -05:00
command_windows.go reexec: add CommandContext() 2019-03-07 11:45:24 -05:00
reexec.go fix typos in pkg 2016-04-09 21:18:15 +08:00
reexec_test.go reexec: add CommandContext() 2019-03-07 11:45:24 -05:00

README.md

reexec

The reexec package facilitates the busybox style reexec of the docker binary that we require because of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of the exec of the binary will be used to find and execute custom init paths.