1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/reexec
Alexey Guskov 26c03d561a make docker compile on freebsd
Signed-off-by: Alexey Guskov <lexag@mail.ru>
2015-07-29 21:25:56 +03:00
..
command_freebsd.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
command_linux.go reexec: Use in-memory binary on linux instead of os.Args[0] 2015-07-24 14:15:50 -04:00
command_unsupported.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
command_windows.go reexec: Use in-memory binary on linux instead of os.Args[0] 2015-07-24 14:15:50 -04:00
README.md
reexec.go reexec: Use in-memory binary on linux instead of os.Args[0] 2015-07-24 14:15:50 -04: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.