pkg/reexec: move reexec code to a new package

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)

Conflicts:
	integration/runtime_test.go
		fixed imports
This commit is contained in:
unclejack 2014-10-30 14:48:30 +02:00
parent ffb90589a5
commit d98455f741
3 changed files with 51 additions and 0 deletions

5
reexec/README.md Normal file
View file

@ -0,0 +1,5 @@
## 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.