Discover Packages
github.com/SKF/moby
pkg
reexec
package
Version:
v1.7.0-rc2
Opens a new window with list of versions in this module.
Published: Jun 4, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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.
Expand ▾
Collapse ▴
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Init is called as the first part of the exec process and returns true if an
initialization function was called.
func Register(name string , initializer func())
Register adds an initialization func under the specified name
Self returns the path to the current processes binary
Source Files
¶
Click to show internal directories.
Click to hide internal directories.