pkg/reexec
Tibor Vass 264e16318f reexec: Use in-memory binary on linux instead of os.Args[0]
This keeps reexec working properly even if the on-disk binary was replaced.

Signed-off-by: Tibor Vass <tibor@docker.com>
2015-07-24 14:15:50 -04:00
..
command_linux.go reexec: Use in-memory binary on linux instead of os.Args[0] 2015-07-24 14:15:50 -04:00
command_unsupported.go Add docstring to reexec.Command 2015-07-20 17:00:18 -07:00
command_windows.go reexec: Use in-memory binary on linux instead of os.Args[0] 2015-07-24 14:15:50 -04:00
README.md pkg/reexec: move reexec code to a new package 2014-11-11 23:19:34 +02:00
reexec.go reexec: Use in-memory binary on linux instead of os.Args[0] 2015-07-24 14:15:50 -04:00

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.