pkg/reexec
Alexey Guskov 4e30080c64 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 pkg/reexec: move reexec code to a new package 2014-11-11 23:19:34 +02:00
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.