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 283ee10886 Add Self func to reexec pkg to return the current binary path
Signed-off-by: Michael Crosby <michael@docker.com>
2014-08-13 11:14:33 -07:00
..
README.md Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
reexec.go Add Self func to reexec pkg to return the current binary path 2014-08-13 11:14:33 -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.