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
Tibor Vass 5aee8807a6 reexec: Use in-memory binary on linux instead of os.Args[0]
This keeps reexec working properly even if the on-disk binary was replaced.

Signed-off-by: Tibor Vass <tibor@docker.com>
2015-07-24 14:15:50 -04: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 Add docstring to reexec.Command 2015-07-20 17:00:18 -07: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-10-30 14:48:30 +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.