package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/raz0rcoder/dockerce.git
Documentation: pkg.go.dev

# README

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.

# Functions

Command returns *exec.Cmd which has Path as current binary.
Init is called as the first part of the exec process and returns true if an initialization function was called.
Register adds an initialization func under the specified name.
Self returns the path to the current process's binary.