1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/reexec
Michael Crosby 1a249a5feb Panic if trying to register an func with the same name
Signed-off-by: Michael Crosby <michael@docker.com>
2014-08-11 18:13:27 -07:00
..
README.md Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
reexec.go Panic if trying to register an func with the same name 2014-08-11 18:13:27 -07: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.